ScalaTest was written by Bill Venners, George Berger, Chua Chee Seng, and other contributors starting in late 2007. ScalaTest, which is almost exclusively written in Scala, follows and improves upon the Java code and design of Artima SuiteRunner, a testing tool also written primarily by Bill Venners, starting in 2001. Over the years a few other people contributed to SuiteRunner as well, including:
Originally, ScalaTest was hosted at java.net and then Google Code, but as of release 2.0 has been moved to GitHub. You can browse the source code:
https://github.com/scalatest/scalatest
You can git clone it to your local disk with this command
git clone https://github.com/scalatest/scalatest.git
To contribute, please fork the repo on your GitHub account, make your changes and submit a pull request.
The followings are needed for building ScalaTest:
It is recommended to have at least 4GB heap size to build and run the regular test, if you would like to build for generated tests, scala-js or scala-native, you may need up to 11GB of heap size.
This command will build and run the regular tests:
$ sbt test
To run generated tests, you'll need to increase maximum heap size to -Xmx5000M
, and use this command instead:
$ sbt gentests/test
What it does is simply switch to gentests
project and run test
.
You can package the ScalaTest JAR file using this command:
$ sbt package
The resulting JAR file will be produced in the target folder of related module, e.g. for scalatest-core it will be in jvm/core/target/scala-2.13/
.
You can also publish it to your local Ivy repository using this command:
$ sbt publishLocal
Or publish it to local maven repository using this command:
$ sbt publishM2
Issues can be submitted here:
https://github.com/scalatest/scalatest/issues
For help, you can post to the scalatest-users mailing list (Google group) at:
Or, you can post to the ScalaTest Forum at:
ScalaTest is brought to you by Bill Venners and Artima.
ScalaTest is free, open-source software
released under the Apache
2.0 license.
If your company loves ScalaTest, please consider sponsoring the project.
Copyright © 2009-2025 Artima, Inc. All Rights Reserved.