Karmator
Karmator copied to clipboard
Build up the test suite.
Right now we are a bit on the weak side suite-wise.
It would be a good idea to see what kind of test framework there is to bring together some quickcheck, hunits and so forth testsuite.
We also need to implement some test suite for various part of the systems such as:
- Karma parsing (mostly done)
- Karma command parsing (semi-done)
- Karma presentation
- Command Routing
- Server stack tests
- Bot stack tests
- Some way to do database + integration test (full stack tests)
http://stackoverflow.com/questions/3120796/haskell-testing-workflow/3120826#3120826
This is not 100% completed, but we now have integration of test suite into cabal and it now runs as many of these tests as it can.
We still need to build up a set of stuff for like handling "network I/O" "Database temp + setup" etc..
Looks like this could be good: http://documentup.com/feuerbach/tasty
Solid tests on the parsing side, still need to improve the async/database side, loom or some other systems should help us here.