hrcorval / behavex

BDD test wrapper for parallel test executions and more!
https://github.com/hrcorval/behavex
MIT License
85 stars 20 forks source link

In html report show testcase execution start time and end time #130

Closed komaljamodkar closed 1 day ago

komaljamodkar commented 1 month ago

With behavex execution with tags, would be possible to show total execution time of all scenario on top Now, its displaying individual scenario duration. And total in bottom Start date time :10/07/2024 06:00.00 end date time : 10/07/2024 06:00:2.9 Total duration of scenario execution : 2.9 sec on top of screen IMG_20240710_195503

hrcorval commented 1 month ago

Hi @komaljamodkar , of course we can do it, the only concern about this, is that start time and end time will be related to the time zone where the tests are being executed, so if you are running in the cloud, it might not be the same as your local time

hrcorval commented 1 day ago

Hi @komaljamodkar, We have released a new library version (v4.0.2) with the requested improvements (among multiple other enhancements/fixes): image

You can see the information in the upper right side of the execution report. Also, In case you need to provide additional info, you can set the ENVIRONMENT_DETAILS environment variable, with comma separated strings that will be parsed and shown in the tooltip (as you can see in the screenshot). Thanks a lot for reporting this improvements! I hope it helps