O'Reilly logo

Pragmatic Scala by Venkat Subramaniam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Wrapping Up

Even though Scala has sensible static typing and quite a few errors will be caught at compile time, unit testing is still important. It can greatly help to get quick feedback that the evolving code continues to work as expected. You could use JUnit to test Scala code, but ScalaTest is a nice tool for testing both Scala code and Java code. In addition to providing fluency of tests, ScalaTest makes it quite easy to use the mocking libraries popular in Java.

We’ve come to the end of this journey and reached a beautiful shore. You’re now ready to apply the concepts you’ve learned. Enjoy Scala’s concise and expressive power as you begin to create real-world projects in Scala. I sincerely hope you benefit from this book and will be able ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required