Please provide the following information:
I have the following code, it runs fine in maven and intellij, but the final report to
mvn test
surefire plugin seems to be lost. in the following code, if I uncomment the def line, the
assert still happens and fails, but the mvn test output says no tests were executed, instead of say
run 1 failed 1
Version of JMockit that was used:
1.30
Description of the problem:
import mockit.Mocked
import org.junit.Test
import org.scalatest.junit.AssertionsForJUnit
class SuperSimpleTest extends AssertionsForJUnit {
class Class1 {
def fun(): Int = {
1
}
}
@Test
// def testSimple(@Mocked a:Class1): Unit = {
def testSimple(): Unit = {
assert(1 == 2 , "fake")
}
}
Please provide the following information: I have the following code, it runs fine in maven and intellij, but the final report to mvn test
surefire plugin seems to be lost. in the following code, if I uncomment the def line, the assert still happens and fails, but the mvn test output says no tests were executed, instead of say run 1 failed 1
Version of JMockit that was used: 1.30
Description of the problem: