Open Toxaris opened 11 years ago
The .ghci file should define a :test command that runs unit tests from ghci. This can be done by something like the following:
.ghci
:test
cmdTests args = <haskell code to run the tests here> :def test cmdTests
It would be perfect if cmdTests would use the args to decide which tests to run.
cmdTests
args
The
.ghci
file should define a:test
command that runs unit tests from ghci. This can be done by something like the following:It would be perfect if
cmdTests
would use theargs
to decide which tests to run.