2009-12-14 16 views

risposta

1

Interprete di scala (REPL) per eseguire il debug non è utile? Un modo più interessante, per testare il codice potrebbe essere attraverso REPL sbt.

1. sbt 
2. console 
3. scala (for Scala REPL); [cntrl d] to get back to sbt REPL 
4. compile 
5. test, if you have unit-tests to test code 
6. run If one has an object with a main method (or an object extending 
    the trait App 
Problemi correlati