ScalaTest User Guide

Getting started

Selecting testing styles

Defining base classes

Writing your first test

Using assertions

Tagging your tests

Running your tests

Sharing fixtures

Sharing tests

Using matchers

Testing with mock objects

Property-based testing

Asynchronous testing

Using Selenium

Using Scala-js

Other goodies

Philosophy and design

Migrating to 3.0

Running your tests

How can you run your tests? Let me count the ways:

1. From sbtuse ScalaTest's Framework
2. From Mavenuse the ScalaTest Maven Plugin
3. On the command lineuse the Runner
4. In the Scala interpreterinvoke execute or use the ScalaTest shell
5. Via Antuse the ScalaTestAntTask
6. From IntelliJ IDEAuse the ScalaTest support in Scala plugin
7. From the Scala IDE for Eclipseuse the ScalaTest Eclipse plugin
8. From NetBeansuse JUnitRunner

Next, learn about sharing fixtures.

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

artima