Scala (programming Language) - Testing

Testing

There are several ways to test code in Scala:

  • ScalaTest supports multiple testing styles and can integrate with Java-based testing frameworks
  • ScalaCheck, a library similar to Haskell's QuickCheck
  • specs2, a library for writing executable software specifications
  • ScalaMock provides support for testing high-order and curried functions
  • JUnit or TestNG, two popular testing frameworks written in Java

Read more about this topic:  Scala (programming Language)

Famous quotes containing the word testing:

    Bourbon’s the only drink. You can take all that champagne stuff and pour it down the English Channel. Well, why wait 80 years before you can drink the stuff? Great vineyards, huge barrels aging forever, poor little old monks running around testing it, just so some woman in Tulsa, Oklahoma can say it tickles her nose.
    John Michael Hayes (b.1919)

    No testing has overtaken you that is not common to everyone. God is faithful, and he will not let you be tested beyond your strength, but with the testing he will also provide the way out so that you may be able to endure it.
    Bible: New Testament, 1 Corinthians 10:13.

    Traditional scientific method has always been at the very best 20-20 hindsight. It’s good for seeing where you’ve been. It’s good for testing the truth of what you think you know, but it can’t tell you where you ought to go.
    Robert M. Pirsig (b. 1928)