forked from cleveragents/cleveragents-core
4e3bf7d3ad
Add TDD-style Behave BDD tests for the missing agents init --yes flag (bug #522). Five Gherkin scenarios cover: exit code validation, prompt suppression, -y alias, output summary fields, and interactive-mode regression guard. Includes Robot Framework smoke tests (tagged @wip) and ASV benchmarks. Configure behave.ini to exclude @wip scenarios globally and noxfile.py to exclude wip-tagged Robot suites, so TDD-failing tests do not break CI. Review feedback addressed: - Remove unnecessary # type: ignore from benchmark (outside Pyright scope) - Fix Then...Then to Then...And in Gherkin (L1) - Fix CHANGELOG 'three scenarios' to 'five scenarios' (L2) - Add behave.ini documentation for @wip workaround (Aditya F1) - Rename Scenario 2 title to 'suppresses interactive prompts' (Aditya F2) Closes #536
11 lines
409 B
INI
11 lines
409 B
INI
[behave]
|
|
paths = features
|
|
# Exclude @wip scenarios globally so TDD failing tests do not break CI.
|
|
# Any contributor tagging a scenario @wip will have it skipped by default.
|
|
# NOTE: --tags=@wip on the CLI will NOT work; Behave ANDs ini and CLI tags.
|
|
# To run a @wip scenario locally, target it by file/line number:
|
|
# behave features/<file>.feature:<line>
|
|
tags = ~@wip
|
|
stdout_capture = no
|
|
stderr_capture = no
|