Vikram
Vikram

Reputation: 7515

Cucumber-jvm scenarios execution results in real time progress

Is there any plugin or tool in Cucumber-JVM to watch or view the realtime execution results of scenarios when we execute in Maven build? I know in IDE we can watch it but not on Maven Build

At the moment I have arroung 120 scenarios and the build takes arround one hour to finish the execution. I wan't to see the realtime status of scenarios (passed/failed) in the middle of execution.

Earlier I have integrated cucumber scenarios using TestRail to view the execution status in realtime by keeping the test rail id in scenario and getting . But I am looking something cucumber specific.

Any suggestions?

Upvotes: 2

Views: 1481

Answers (1)

M.P. Korstanje
M.P. Korstanje

Reputation: 12029

Depending on your needs you may want to run cucumber with the progress or pretty plugin. You can do this from the command-line with --plugin progress or through @CucumberOptions.

If you need more, the appropriate way to do this would be to a custom plugin that listens to the execution of cucumber features. There is no documentation but the source of the existing plugins is fairly straight forward.

Upvotes: 1

Related Questions