Writing JUnit and TestNG tests in Scala

One way to integrate ScalaTest with existing tools is to run your ScalaTest tests through JUnit. With ScalaTest's JUnitRunner annotation, you can run any ScalaTest Suite written in any style with JUnit 4.

If you would like to write native JUnit or TestNG tests in Scala, see:

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

artima