-
Notifications
You must be signed in to change notification settings - Fork 960
Closed
Description
steps
sbt version: 1.3.0, 1.3.1, 1.3.2 (probably earlier)
problem
After spending hours figuring out why upgrade from 1.1.6 mangled our tests (scalatest/scalatest#1427 - really there should be migration info when JUnitXmlReportPlugin was added) I stared to test should run sbt's reporter or ScalaTest's.
- When running with
1.1.6our CI reported that we have 1318 tests, it combined both reports withTEST-and without and removed duplicates. - When disabled sbt's writer test count dropped to 1235 (which is correct).
- When running only
sbt.JUnitXmlTestsListenertest count dropped to 1233.
Problem is is that test names having dot in them are splitted and only last part is written to XML, and couple of test names ended in domain name and only net was written to file. (and again CI removes duplicates).
There is quite many test classes containing dot and caused previously extra 83 tests reported as names where different.
expectation
Test names in JUnitXmlTestsListener not to be truncated.