|
|
|
|
|
by danuker
1477 days ago
|
|
How you would write tests in a real project? I suppose it's not writing out the entire program and then writing the tests, as seems to be implied. That would mean a lot of manual testing. Or is there a Haskell REPL where you can try out small pieces before saving them? |
|
In the test suite you write your tests against the library. You can do that at any stage, even before writing a line of library code.
But yes, Haskell also has a REPL that can be used to experiment with code.