Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature Request: Support for logging arbitrary text which will appear in the reports #7
Right now there isn't an easy way to get my test context output to the test reports. It would be nice if there was some option to output it easily. Ideally I would like to specify a class that represents my test context and LightBdd includes the representation after each test run.
With a new version of LightBDD, it would be possible to comment any step during it's execution, where comments would be included on the report.
I am planning to add
It should be easily reusable for a purpose of dumping a test context, where I plan to give ability to dump it manually plus it would be dumped automatically on failing scenarios.
For automatic dumps, the test context would be:
I have not thought through it yet, but most probably, the context dumping method would use:
An initial implementation is done in version 22.214.171.124.
The automatic context dump is not implemented in this version and it would be added in future versions if needed.