<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_2.11</artifactId>
<version>2.2.5</version>
<scope>test</scope>
</dependency>
import org.scalatest.FunSuite
class ExampleSuite extends FunSuite {
ignore("addition") {
val sum = 1 + 1
assert(sum == 2)
}
test("subtraction") {
val diff = 4 - 1
assert(diff == 3)
}
}
[INFO] Compiling 10 source files to C:\************************\master\target\test-classes at 1454609466815
[ERROR] error: error while loading Suite, Scala signature Suite has wrong version
[INFO] expected: 5.0
[INFO] found: 4.1 in Suite.class
[ERROR] one error found