Files
simplexmq/tests
Evgeny 850d2fa423 ntf server: PostgreSQL database storage (#1519)
* ntf server: PostgreSQL database storage

* ntf server: import/export stubs

* ntf server postgres db functions

* some notifications tests pass

* notifications tests pass

* import/export notification store logs

* fix ntf server CLI

* log in parralel

* update subscription statuses using executeMany

* fix import/export

* refactor

* fix queries

* prohibit token_id and subscription_id updates, dont update tokens and subscriptions on conflict, improve server insertion, remove duplicate tokens for import, remove subscriptions without tokens for import

* comment

* remame

* increase test delay
2025-04-25 16:47:39 +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.