I'm learning Scala now. I saw there are 2 test frameworks there, ScalaTest and Specs. My only problem is that I'm not still at ease with the language to decide which is better. Also I'm used to write tests before code, at the moment I have no clear idea how to do it in functional programming. Ideally I'd like to learn Scala in a TDD fashion, is there any resource about it?
There is a functional koan which might be something you are looking for. Dick Wall from the Java Posse started a github project:
https://github.com/relevance/functional-koans/tree/scala
You need maven to start it via mvn package
.
There is another Koan:
http://www.scalakoans.org/
Thanks to @MikeHoss!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With