Files
simplexmq/tests
Evgeny @ SimpleX Chat f9f3bc9208 xftp: prevent work directory conflicts of concurrent file transfers (#2062)
* tests: cover XFTP files prepared concurrently

* xftp: create unique work directories for concurrent file transfers

* xftp: test whether a candidate path is taken

* xftp: compute candidate names apart from checking and creating paths

* xftp: create unique directories in a separate function

* xftp: share the candidate path between unique names and directories
2026-11-13 08:39:49 +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.