|
UserGuide
User guide for the specs framework
Introductionspecs is designed as an alternative for JUnit when specifying and testing Java or Scala projects. Yet, it is able to reuse the existing JUnit infrastructure for execution and reporting since the specifications can be executed as JUnit4 test suites. specs also integrates an advanced testing and specification library, the ScalaCheck project in order to be able to generate a numerous cases testing a given property. specs takes its inspiration from existing frameworks:
User GuideThis User Guide is divided in 7 parts:
For more examples about what you can do with the library, please:
Maven dependencyIf you're a Maven user, you need to add the following dependency to your pom file: <dependency>
<groupId>org.scala-tools.testing</groupId>
<artifactId>specs</artifactId>
<version>1.4.4</version> <!-- specify the version here -->
</dependency>Note: specs versions older than 1.4.4 are using the org.specs groupId |
Sign in to add a comment
Links to "all specifications" and "matchers applicable to any object" are wrong.
Thanks Stepan, I corrected those links.
http://scala-tools.org/repo-releases/org/scala-tools/testing/specs/ only has version 1.4.3. When will it contain 1.4.4?