Testing With Scala: Library Landscape

If you are confused by the variety of test libraries in the Scala ecosystem like me, then this is the article for you.

In this article, I'd like to do a quick tour of Scala frameworks and libs and show the capabilities of each of them on the same example to compare their approaches and how the final test will look at a very high level.

Beginners Guide to Mocking in Scala

We all know that unit test cases are one of the most important parts of an application. No? Then, I must tell you that unit testing is one of the earliest tests to be performed on the unit of code, and the earlier the defects are detected, the easier it is to fix. It reduces the difficulties of discovering errors contained in more complex pieces of the application.

So where does mocking come into the picture? Why do we need it? And how do we understand what we should mock while writing unit test cases? Answers to these questions are right below in this blog.