Courgette Reporter shows testname with "2" appended to it
See original GitHub issueWhen running my tests, the report xml generated always appends “2” after each test name. Digging through the courgrette files generate in var folders, the test run.json shows:
],
"line": 7,
"name": "Admin can create a new Channel",
"description": "",
"id": "channels;admin-can-create-a-new-channel",
"after": [
the test run. xml will show:
<testcase classname="Channels" name="Admin can create a new Channel 2" time="37.828686">
while the testrun.html/report.js will show:
formatter.scenario({
"name": "Admin can create a new Channel",
"description": "",
"keyword": "Scenario",
"tags": [
I am currently failing at trying to figure out where and why the test case name in the xml files add 2 to the test name. Could you shed some light on the above?
courgette runner config:
@RunWith(Courgette.class)
@CourgetteOptions(
threads = 2,
runLevel = CourgetteRunLevel.SCENARIO,
rerunFailedScenarios = false,
showTestOutput = true,
cucumberOptions = @CucumberOptions(
features = { "src/test/resources/features" },
glue = { "com.workjam.stepdefinition" },
plugin = {
"pretty:target/cucumber-report/cucumber-pretty.txt",
"json:target/cucumber-report/cucumber.json",
"html:target/cucumber-report/cucumber.html",
"junit:target/cucumber-report/cucumber.xml",
},
tags = { "@RestReady" }
)
)
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Diff - 7f72620d8b..47b94319df - chromium/src - Git at Google
Append (kRoot))); +} + +// Validates that the correct base name is returned from file paths under the +// 'My Files' path. +TEST_F(ChromeScanningAppDelegateTest, ......
Read more >COVID-19 World Vaccine Adverse Reactions - Kaggle
Explore and run machine learning code with Kaggle Notebooks | Using data from COVID-19 World Vaccine Adverse Reactions.
Read more >test - gists · GitHub
To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters.
Read more >Vital and Health Statistics; Series 1, No. 32 (7/94) - CDC
This report describes the plan and operation of the third National Health and. Nutrition Examination Survey, The sample for this study of the...
Read more >Everyday food practices among three low-income groups
refugee, 2) to examine the cultural variations in food practices among ... their economic status to the rural cooking class participants, they show...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s fine, will keep it open until it’s merged into master.
Thanks for reporting.
There’s nothing for you to do on your side. Your runner should look exactly the way it is right now.
I will have to make a code change in Courgette to allow only 1 multithreaded junit plugin in the runtime options before the tests execute.
Hope that makes sense.