Files
simplexmq/tests
Evgeny @ SimpleX Chat e8aff94ca9 lib, ntf server: reject null byte in host and server without key hash (#2027)
* core: reject empty server key hash and null byte in host

* core: reject notification subscription to a server without key hash

* lib: exclude null byte in host with the other excluded characters

* tests: name the subscription server address test by the rejected values
2026-11-07 16:17:27 +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.