Karmator icon indicating copy to clipboard operation
Karmator copied to clipboard

Build up the test suite.

Open pharaun opened this issue 10 years ago • 4 comments

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:

  1. Karma parsing (mostly done)
  2. Karma command parsing (semi-done)
  3. Karma presentation
  4. Command Routing
  5. Server stack tests
  6. Bot stack tests
  7. Some way to do database + integration test (full stack tests)

pharaun avatar Oct 10 '14 08:10 pharaun

http://stackoverflow.com/questions/3120796/haskell-testing-workflow/3120826#3120826

pharaun avatar Oct 11 '14 01:10 pharaun

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..

pharaun avatar Oct 11 '14 08:10 pharaun

Looks like this could be good: http://documentup.com/feuerbach/tasty

pharaun avatar Oct 14 '14 04:10 pharaun

Solid tests on the parsing side, still need to improve the async/database side, loom or some other systems should help us here.

pharaun avatar Dec 09 '20 09:12 pharaun