Classes missing during test
raboof opened this issue · comments
Since #208, when running the tests, there are sometimes classes that are missing at run or compile time.
It looks like this is due to our overridden test
task:
test in Test := {
// since we are building for different Scala patch versions, a clean
// is required to avoid conflicts in class files
clean.value
saveTestClasspath.value
(test in Test).value
},
It looks like sometimes the clean
removes class files (as intended), but test in Test
doesn't correctly re-introduce it by compiling it again.
However, when commenting out that line, it looks like sbt already recompiles the classes when switching to a different Scala patchversion. The clean.value
is perhaps no longer needed?
I think the clean.value
was introduced in cddacd1 , @jodersky do you know how we could verify whether this is still needed?
Hey, sorry I'm not up-to-date with this anymore