Software development is an ever transforming process. We have seen in recent decades that many patterns have been discovered/rediscovered. These programming techniques/paradigms have become an important part and have changed the way we approach programming. One of them is Test-Driven Development (TDD). In the TDD approach, we first specify the requirement for our application through new tests. Then, one by one, we write concrete code to pass all those tests. In this manner, we complete our requirements by writing new test cases, implementing code to pass them, and end up building an application that runs as expected. Scala provides many frameworks for testing (for example, ScalaTest, Specs2, and so on) and we have Mockito and ScalaMock for mocking objects. Testing...
Testing in Scala
"Change is the end result of all the true learning."
- Leo Buscaglia