behave
behave copied to clipboard
BDD, Python style.
I have come up with a solution to the steps timeout, but I wanted to discuss different/better approaches. ```python from behave.runner import Context class TimeoutException(Exception): pass def timeout_handler(seconds): def trigger_timeout(signum,...
In the [Noteworthy in Version 1.2.5](https://behave.readthedocs.io/en/stable/new_and_noteworthy_v1.2.5.html#active-tags) examples for Active Tags, I noticed there's a new `scenario.effective_tags` property that is missing from the docs [here on gitub](https://github.com/behave/behave/blob/121e61c5598b7967fd8a2eb1833235b282dc3ca6/docs/api.rst), [here on the docs...
I suggest adding the `before_tag` hooks into the explanation for the [Runner Operation here](https://behave.readthedocs.io/en/stable/api.html#runner-operation). I think it ends up being something like this: ``` before_all for feature in all_features: for...
When a step is missing in the gluecode, the Formatter output for `match` is switched between the missing step and the step after it. This only happens when in dryRun...
This has been raised before #1057 Require ability to skip a specific step only but continue with rest of the steps of the scenario I would like to re-raise it....
RELATED TO: Discussion #1228 ON SCENARIO RESULT EVALUATION: * CONDITION: If `@xfail` tag is in Scenario tags * If `scenario.status.has_failed()`, set `scenario.status = Status.xfailed` * If `scenario.status` is `Status.passed`, set...
RELATED TO: Discussion #1250 Add to support for Fixture(s) to parse fixture parameters from its `fixture-tag`: * Fixture will need to specify a `fixture-tag` name schema, like: - `“fixture.browser={browser_name:w}“` or...
Configuration is not applying the verbose it receives as argument. The issue is that the `init` method receives `verbose` as a separate argument from all others and is not passing...
Hi! In my step matchers that are backed with `re`, I name all arguments explicitly, i.e. `(?P\w+)`. It is consistent with match naming with the other matchers (`{myarg}`), and I...
Hi, I've tried in a couple of apps, and the reported execution time from behave is always off. Tried with both 1.2.6 and 1.2.7.dev6. 1.2.6 app ``` $ time poetry...