behave
behave copied to clipboard
BDD, Python style.
``` Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm 2019.2\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_xml.py", line 282, in frame_vars_to_xml xml += var_to_xml(v, str(k), evaluate_full_value=eval_full_val) File "C:\Program Files\JetBrains\PyCharm 2019.2\plugins\python\helpers\pydev\_pydevd_bundle\pydevd_xml.py", line 369, in var_to_xml elif hasattr(v, "__len__")...
I have tried using context.log(), and I have tried creating my own logger, faffing around with the BasicConfig() with and without formatters. But I cannot get logs within the environment.py...
[Playwright](https://playwright.dev) is a very popular package to end-to-end test web apps. Just curious if adding Playwright support into Behave would be a good fit for the project. Has this been...
When we use `context.config.setup_logging(configfile=...)`, existing loggers are always overwritten by the new configuration. This is the default behavior by the `logging` module, and noted with a big warning in https://docs.python.org/3/howto/logging.html#configuring-logging:...
### tl;dr - JSON file (from JSONFormatter) does not contain current feature results/data if run is aborted. I recently had a need to abort test runs in case of certain...
Currently, external formatters need [to be configured](https://behave.readthedocs.io/en/latest/formatters.html#more-formatters) to have a nice alias, or their full `module:Class` path needs to be specified. This is somewhat tedious and would be unneeded if...
Currently, when you configure an alias for a formatter, and you configure it wrongly, `behave` doesn't error out (which is okay) but you also get no feedback about what's wrong,...
Output from the `after_scenario` hook is never included in the JUnit test results when using `--junit`. Also, it is not suppressed when it succeeds. We need a way to run...
If a KeyboardInterrupt (SIGINT) is raised while running a step, then it will be caught, and the output will show the tests as aborted, as expected. However, if this happens...
Is it possible to run behave using a different ini file? In our situation, we run our behave tests either locally or through CI pipeline in docker-compose. Both run the...