-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
output from test reports doesn't seem right #50
Comments
uhh, looks like the reporting in cucumber or grails has changed so that the current mapping from cucumber to junit/grails doesn't fit anymore. See CucumberTestType, you could use the DebugFormatter here to find out where it is going wrong. |
Thanks @hauner do you know how can I include the modified plugin on an app to test this? |
Got it working adding this to the buildconfig grails.plugin.location.cucumber = '/home/pablo/GitHub/grails-cucumber' I'm seeing everything that outputs with R is empty, only the F steps have some info:
Also seeing the behavior described in #52 all the Before and After methods are called on every scenario, even if those are declared on different step files. But can't see what is going on in the Cucumber Formatter with the report of the features and scenarios, there is too much IoC there to understand the workflow. One thing I found is the activeFeature = null was missing from here:
Not sure if that fixed anything. On the HTML report I get the output of the feature and first scenario on the second scenario, and the first scenario has no output. Also getting the output of the second and third scenarios on the third scenario. I'm not sure how the HTML report is created and how to associate the specific outputs with the correct scenario. Also not sure if the feature output should be there at all, since there is no row for the feature, just seeing rows for the scenarios. It is easier with an image: |
I Looked a minute at the code, the |
Hi I'm testing this plugin on Grails 2.5.6 (the latest 2.x version), and I have this feature file:
On grails test-app :cucumber I the output for Scenario aaa in the test html report is "Feature xyz ...", then for Scenario bbb the output is "Scenario aaa ....", and for Scenario ccc the output is "Scenario bbb .... Scenario ccc".
It seems the outputs are not mapped to the correspondent Scenario being executed.
The text was updated successfully, but these errors were encountered: