Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
timestamped-scenarios
Advanced tools
This gem provides custom cucumber formatters which append a test run timestamp to each scenario name as it is generated. a Timestamped::PrettyFormatter
and Timestamped::HtmlFormatter
are supplied already, but you can use the AddsTimestamp
module to dynamically add timestamping to pretty much any Cucumber formatter.
My CI system is set up to record a screen capture movie of each test run. I use these timestamps to easily find a specific scenario's behaviour as recorded in the movie.
Install the gem with gem install timestamped-scenarios and then simply ask cucumber to use the custom formatters with --format 'Timestamped::HtmlFormatter' --format 'Timestamped::PrettyFormatter'
You can also configure cucumber to use the formatters in your rake cucumber task, or by using a cucumber.yml config file. Check out the cucumber.yml file in the example directory to see how this is done.
You can create additional Formatter subclasses as required by using the Timestamped::AddsTimestamp#formatter_with_timestamped_scenario_names
method.
Many thanks to Caleb Clausen for his metaprogramming wizardry, which cleaned up my implementation of AddsTimestamp
greatly.
FAQs
Unknown package
We found that timestamped-scenarios demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.