0

I'm trying to use scalatest suite using intellij idea like this :

class SampleTest extends org.scalatest.Suite {
    def myTest() {
       assert(true)
    }
}
(new SampleTest).execute()

I have added scalactic_2.11 and scalactic_2.11 to my pom file.The problem is that the SDK still cant resolve it.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
abshar
  • 467
  • 1
  • 4
  • 8

1 Answers1

0

Well it seems the problem is due to versioning. using the following version resolved the issue :

<dependency>
    <groupId>org.scalatest</groupId>
    <artifactId>scalatest</artifactId>
    <version>0.9.5</version>
</dependency>
abshar
  • 467
  • 1
  • 4
  • 8