mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-03-30 14:16:00 +00:00
* smp server: remove empty journals when opening message queue * update, do not backup state * test * version * do not close queue state when queue is opened for writing * comment * quota = 4 * refactor openMsgQueue to prevent extra state backups * use interval in config * version, expire backups after 5 min * refactor * test
8 lines
366 B
Markdown
8 lines
366 B
Markdown
# Running tests with coverage
|
|
|
|
1. Uncomment coverage sections in cabal.project file.
|
|
2. Add `-fhpc` to ghc-options of simplexmq-test in simplexmq.cabal file.
|
|
3. Disable (`xit`) test "should subscribe to multiple (200) subscriptions with batching", enable (comment `skip`) the next test instead.
|
|
4. Run `cabal test`.
|
|
5. Open generated coverage report in the browser.
|