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:
“Is this testing whether Im a replicant or a lesbian, Mr. Deckard?”
—David Webb Peoples, U.S. screenwriter, and Ridley Scott. Rachel, Blade Runner, being tested to determine if she is human or machine (1982)
“Now I see that going out into the testing ground of men it is the tongue and not the deed that wins the day.”
—Sophocles (497406/5 B.C.)
“Bourbons 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)