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:
“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.)
“Today so much rebellion is aimless and demoralizing precisely because children have no values to challenge. Teenage rebellion is a testing process in which young people try out various values in order to make them their own. But during those years of trial, error, embarrassment, a child needs family standards to fall back on, reliable habits of thought and feeling that provide security and protection.”
—Neil Kurshan (20th century)
“Traditional scientific method has always been at the very best 20-20 hindsight. Its good for seeing where youve been. Its good for testing the truth of what you think you know, but it cant tell you where you ought to go.”
—Robert M. Pirsig (b. 1928)