maxwu / cucumber-java-toy

♖ Demo to show Selenium PageObjects with JUnit in Cucumber-JVM on unit conversion and GeoIP location
1 stars 3 forks source link

XUnit report format is weird on parameterised cases #5

Open maxwu opened 7 years ago

maxwu commented 7 years ago

JUnit with Cucumber-JVM generated XUnit file but the format is weird on parameterised cases.

Action: pending, will get back to Cucumber-JVM after releasing v1.0;

<testcase classname="| 65535 | 117995 |" name="| 65535 | 117995 |" time="0.038">
  <failure message="expected:&lt;[117995]&gt; but was:&lt;[32]&gt;" type="org.junit.ComparisonFailure">org.junit.ComparisonFailure: expected:&lt;[117995]&gt; but was:&lt;[32]&gt;
  at org.junit.Assert.assertEquals(Assert.java:115)
  at org.junit.Assert.assertEquals(Assert.java:144)
  at org.maxwu.jrefresh.selenium.stepdefs.TemperatureConverterCalStepdef.check_fahrenheit_degree(TemperatureConverterCalStepdef.java:170)
  at ✽.Then Check the value against &quot;117995&quot;(10_Convert_Celsius_To_Fahrenheit.feature:21)
</failure>
</testcase>