For test automation we use cucumber testing tools and besides selenium web driver to run the functional test process as we follow BDD (Behaviour Driven Development). Now, at the end we have very some results in terminal: As follows:
- Passed scenario
- Failed scenario
- Number of scenario ran
- Number of steps ran
- Total run time of scripts.
But, you know client or the business people want more then that.
Cucumber has some build it features. You can simply run this
cucumber features --format html --out reports -
it will run all the features and execute a detailed reports
You can have two types of reports:
If everything passed: we have green and you can expand to see details
If we got issues: we have red report and details shown where the problem is.