About ScalaTest

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:

  • Mark Brouwer
  • Chris Daily
  • Matt Gerrans
  • John Mitchel
  • Frank Sommers
Several people have helped with ScalaTest, including:
  • Josh Cough
  • Corey Haines
  • Colin Howe
  • Dianne Marsh
  • Joel Neely
  • Mike Pilquist
  • Jon-Anders Teigen
  • Dick Wall
  • Daniel Watson
  • Matthew Farwell
  • Bardur Arantsson
  • Dmytro Makhno
  • Iulian Dragos
  • Luc Bourlier
  • Richard O. Legendi
  • Alexander Podkhalyuzin
  • Ksenia Sautina
  • Darlene Wallach
  • Sean Griffin
  • Mark Harrah
  • Nick Wade
  • Adriaan Moors
  • Mirco Dotta
  • Eugene Burmako
  • Jason Zaugg
  • Matt Hughes
  • Fengyun Liu
  • Nicolas Stucki
  • Bùi Việt Thành
  • Shadaj Laddad
  • Robert Fries
  • Kirill A. Korinsky
  • Aaron S. Hawley
  • Guillaume Martres
  • Allan Renucci
  • Seth Tisue
  • Taisuke Oe
  • Sébastien Doeraene
  • Sandor Kelemen
  • Martin Odersky
  • Benjamin Edwards
  • Nguyen Hong Phuc
  • Jamie Thompson
  • Michael Pilquist
  • Sébastian Le Merdy
  • Marcos Pereira
  • Travis Brown
  • John Duffell
  • John Sullivan
  • Lorenz Mende
  • Naftoli Gugenheim
  • Ondra Pelech
  • Peter Linlor
  • Daniel Wojda
  • Brendan Maguire
  • Joan Goyeau
  • Bruno Bonanno
  • Arnout Engelen
  • João Abecasis
  • Tom Grigg
  • Pavel Kozlov
  • Tim Zhlobich

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

There are also supporting projects for ScalaTest available here:

To contribute, please fork the repo on your GitHub account, make your changes and submit a pull request.

Building ScalaTest

Pre-Requisites

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.

Building and Running Tests

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.

Packaging

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 Reporting

Issues can be submitted here:

https://github.com/scalatest/scalatest/issues

ScalaTest community

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-2022 Artima, Inc. All Rights Reserved.

artima