See a quick overview of ScalaTest, Specs2, Munit, uTest, and Minitest on the same test example to see how each framework and library handles unit testing.
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.
IMPORTANT NOTES:
akka
, Play Framework
, cats-effect
— only general-purpose unit testing technologies — but they will be mentioned in the end in a short wrap-up table.#java #testing #scala