Files
simplexmq/tests
Evgeny @ SimpleX Chat 3f9ebbdcc3 agent: report skipped messages when an internal message follows them (#2066)
* agent: MSGERR event, test of a skipped message before QCONT

* agent: report skipped messages followed by agent messages

* tests: keep the sender online until the expired message is deleted

* agent: report integrity errors in one guard before the message dispatch

* agent: skip integrity notices of HELLO and QEND, check message types in one guard

* agent: report integrity errors in the dispatch branches of QCONT, QADD, QKEY, QUSE and QTEST

* agent: use one integrity notice helper in the dispatch and the receipt branch

* agent: report integrity errors as MSG without body, remove MSGERR

* agent: report integrity errors as MSGERR again, MSG unchanged
2026-11-13 23:04:11 +00:00
..
2026-05-21 14:14:03 +01:00

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.