Skip to content

test execution and reporting

Matt Barbour edited this page Oct 9, 2015 · 1 revision

Executing zucchini tests

Zucchini tests are driven by TestNG and are generally executed during the appropriate maven lifecycle (generally test). If you are using out of the box maven settings, naming your implementation of AbstractZucchiniTest with Test in the beginning or end of the class name and running mvn test will do the trick. For more complicated test execution situations, please consult the documentation for the Maven Surefire Plugin or whatever maven plugin you are using to execute tests

Test result reporting

Zucchini makes use of the off-the-shelf cucumber json formatter to gather results for each thread. This results in a temporary json file for each thread. Zucchini then combines all the json files together into a single json file which is then automatically fed into the cucumber-reporting plugin to produce beautiful HTML reports with results for all devices on each scenario captured.

Shield

Clone this wiki locally