Skip to content

Commit

Permalink
Updating CHANGES and library version
Browse files Browse the repository at this point in the history
  • Loading branch information
anibalinn committed Sep 3, 2024
1 parent 313014f commit de5df5d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
26 changes: 18 additions & 8 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,23 @@ Version History
Version: 4.0.1
-------------------------------------------------------------------------------
ENHANCEMENTS:

* Changing core implementation to perform parallel executions, by using **concurrent.futures.ProcessPoolExecutor** instead of **multiprocessing.Pool**. This change was done to avoid BehaveX to crash when running in parallel and a test scenario crashes. `Issue #114 <https://github.com/hrcorval/behavex/issues/114>`_
* Adding execution start time and end time to the HTML report header.
* Managing "Untested" scenarios, by displaying them in the HTML report as "Untested" instead of "Skipped".
* 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.
* Adding ENVIRONMENT_DETAILS variable to enable users to provide additional information about the environment to the JSON and HTML reports.
* Added ENVIRONMENT_DETAILS variable to include additional environment information in JSON and HTML reports.

FIXES:
* Fixed issue in HTML report generation when running in parallel and a scenario crashed, which caused BehaveX to hang.
* Updated JUnit reports to mark scenarios that crashed unexpectedly as "failed" instead of "skipped".
* Fixed parallel execution summary to correctly report the number of skipped scenarios.

* 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.

CONTRIBUTIONS:

* Contribution from `Jonathan Bridger <https://github.com/jbridger>`__ for reporting and solving `Issue #114 <https://github.com/hrcorval/behavex/issues/114>`_. This is a significant milestone for this framework (Thanks Jonathan!!)


Version: 3.3.0
-------------------------------------------------------------------------------
Expand All @@ -23,6 +29,10 @@ 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!!)


Version: 3.2.13
-------------------------------------------------------------------------------
Expand Down
3 changes: 1 addition & 2 deletions behavex/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -941,8 +941,7 @@ def _set_env_variables(args):
'FEATURES_PATH',
'TEMP',
'LOGS',
'LOGGING_LEVEL',
'ENVIRONMENT_DETAILS',
'LOGGING_LEVEL'
]
)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='behavex',
version='4.0.1rc18',
version='4.0.1',
license="MIT",
platforms=['any'],
python_requires='>=3.5',
Expand Down

0 comments on commit de5df5d

Please sign in to comment.