How to generate test execution reports through gradle or cucumber


(Chandandeep Singh) #1

I have framework with gradle, cucumber and JUNIT. I need to the execution reports . is there any documentation that how we can generate reports


(Peter Niederwieser) #2

Gradle can only generate test reports for tests that were run with a ‘Test’ task. (In an earlier post, you were overwriting the ‘Test’ task with your own custom task, in which case you won’t get any reports.) However, there are known incompatibilities between Gradle’s ‘Test’ task and Cucumber. I’d first check if they are solved in Gradle 1.7. If not, you may have to execute tests and/or generate reports with Ant.