Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

learn Scala with TDD

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?

like image 270
Uberto Avatar asked Nov 16 '10 13:11

Uberto


1 Answers

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!

like image 113
michael.kebe Avatar answered Sep 28 '22 03:09

michael.kebe