Behavex

Latest version: v4.0.8

Safety actively analyzes 685507 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

4.0.8

-------------------------------------------------------------------------------
ENHANCEMENTS:

* Enhanced parallel scenario execution management by utilizing scenario lines over scenario names. This allows running scenarios that might change their name without causing issues in parallel executions.

FIXES:

* Avoid using the scenario name as part of the hash to generate output paths, as if the scenario name is changed, the path does not match. Instead, the feature filename and the line where the scenario is located is used to generate the hash.

4.0.7

-------------------------------------------------------------------------------
ENHANCEMENTS:

* Improved KeyboardInterrupt handling when running BehaveX in parallel, by terminating all child processes before exiting.
* Simplified library documentation (README.md)
* Added more tests to validate BehaveX is working as expected when using latest stable Behave version (1.2.6)
* Adding the possibility to copy the scenario name in the HTML report

FIXES:

* Fix done when generating the features path (if not specified, BehaveX will use the current path as features path)
* Fix done when managing tags in scenario outlines
* Fix done when analyzing empty features
* Fix done to remove ansi color codes from the log files and HTML reporter (`fd3c375 <https://github.com/hrcorval/behavex/commit/fd3c3756a13d9e47823f286022980e54e306d6da>`_)

4.0.5

-------------------------------------------------------------------------------
ENHANCEMENTS:

* Added the 'worker_id' context.config.userdata parameter to allow users to identify which worker is executing every feature or scenario when running tests in parallel. `PR 121 <https://github.com/hrcorval/behavex/pull/121>`_
* Adding the --parallel-delay argument, to enable setting a staggered execution when running tests in parallel. `Issue 142 <https://github.com/hrcorval/behavex/issues/142>`_

FIXES:

* Standardized XML report generation for parallel and single-process runs. `Issue 144 <https://github.com/hrcorval/behavex/issues/144>`_

CONTRIBUTIONS:

* Contributions from `JackHerRrer <https://github.com/JackHerRrer>`__, by providing the implementation to include the 'worker_id' context.config.userdata parameter (Thanks JackHerRrer!!)

4.0.2

-------------------------------------------------------------------------------
ENHANCEMENTS:

* Changed core implementation to use **concurrent.futures.ProcessPoolExecutor** for parallel executions, avoiding crashes when a test scenario fails. `Issue 114 <https://github.com/hrcorval/behavex/issues/114>`_
* Added information popup in HTML report, containing parallel execution settings and execution times (start time, end time, total time and scenarios duration).
* Displayed "Untested" scenarios in the HTML report.
* Updated progress bar to create a new line after completion.
* Included ENVIRONMENT_DETAILS environment variable to enable users to provide environment information in JSON and HTML reports.

FIXES:

* Fixed HTML report generation issue when running in parallel and a scenario crashed, causing BehaveX to hang.
* Updated JUnit reports to mark unexpectedly crashed scenarios as "failed" instead of "skipped".
* Corrected parallel execution summary to report the number of skipped scenarios accurately.
* Fixed progress bar issue when running tests in parallel by feature.
* Fixed issue when processing scenario tags, to always consider the tags associated with the scenario outline examples.

CONTRIBUTIONS:

* Contributions from `Zoran Lazarevic <https://github.com/lazareviczoran>`__, `Simon Sawert <https://github.com/bombsimon>`__, `Jonathan Bridger <https://github.com/jbridger>`__ for reporting and providing a solution to `Issue #114 <https://github.com/hrcorval/behavex/issues/114>`_. This is a significant improvement for this framework (Thanks!!)

3.3.0

-------------------------------------------------------------------------------
ENHANCEMENTS:

* Enabling BehaveX to attach screenshots to the HTML report (by incorporating the behavex-images library)
* Improvement in progress bar, to remove any trailing content displayed in console when printing the progress bar

CONTRIBUTIONS:

* Contribution from `Ana Mercado <https://github.com/abmercado19>`__ by providing the implementation of the `behavex-images <https://github.com/abmercado19/behavex-images>`__ library (Thanks Ana!!)

3.2.13

-------------------------------------------------------------------------------
ENHANCEMENTS:

* Adding a progress bar to the console when running in parallel to better track the execution progress (arguments: -spb or --show-progress-bar)
* Adding workflow to validate the BehaveX wrapper is properly installed in latest python versions (v3.8 to v3.11)
* Updated pre-commit hooks to use them in every commit
* Removing some parameters that are no longer used

FIXES:

* Fixed blank report issue reported in some cases when running tests in parallel
* Fixed issues when performing a dry-run when there are no features/scenarios tagged as MANUAL

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.