Unit testing: Difference between revisions
Content added Content deleted
Line 89: | Line 89: | ||
The main Scala testing frameworks ( [http://www.scalacheck.org ScalaCheck], [http://www.scalatest.org ScalaTest], and [http://www.specs2.org specs2]) provide an implementation of the common test interface and only need to be added to the classpath to work with [https://www.scala-sbt.org/ sbt]. |
The main Scala testing frameworks ( [http://www.scalacheck.org ScalaCheck], [http://www.scalatest.org ScalaTest], and [http://www.specs2.org specs2]) provide an implementation of the common test interface and only need to be added to the classpath to work with [https://www.scala-sbt.org/ sbt]. |
||
=={{header|Smalltalk}}== |
=={{header|Smalltalk}}== |
||
All Smalltalk dialects have a testing framework included, which is typically based on the original SUnit test framework. |
All Smalltalk dialects have a testing framework included, which is typically based on the original [https://en.wikipedia.org/wiki/SUnit SUnit test framework]. |
||
Tests are subclasses of TestCase, and define test methods. Execution and visual presentation is from within the class browser or a UnitTest runner (which is also part of the system). |
Tests are subclasses of TestCase, and define test methods. Execution and visual presentation is from within the class browser or a UnitTest runner (which is also part of the system). |
||