grasshopper7 / extentreports-cucumber6-adapter

Cucumber-JVM 6 Adapter for Extent Framework
https://ghchirp.online/2098/
MIT License
16 stars 15 forks source link

Output on console is displayed after scenario is completely executed and not after each steps for cucumber maven project #34

Open kawalbhatia opened 3 years ago

kawalbhatia commented 3 years ago

When user runs the scenario in feature file, the console output is displayed only once complete scenario is executed and not after each Gherkin step.

kawalbhatia commented 3 years ago

@grasshopper7 - By any chance you get time to look at it .

grasshopper7 commented 3 years ago

Will have a look in a couple of days time, currently kinda swamped. If I remember, the console output (system.out statements in the step definition method) is printed after each step. Is it what u r referring to?

kawalbhatia commented 3 years ago

@grasshopper7 - Thanks for your response. Yes, i am referring to System.out statement in each Gherkin steps or even log4j implementation that put the log info on file and output on the console as well.

grasshopper7 commented 3 years ago

I just ran the sample implementation and it outputs to the console in each step. Execute the runner from the POM with tags set to "@both". https://github.com/grasshopper7/cuke6-extent-adapter-report/blob/master/cuke6-extent-adapter-report/src/test/java/stepdefs/RunCukeIT.java Can u share a minimum example in git?