mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-11-22 19:58:39 +00:00
* 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
Running tests with coverage
- Uncomment coverage sections in cabal.project file.
- Add
-fhpcto ghc-options of simplexmq-test in simplexmq.cabal file. - Disable (
xit) test "should subscribe to multiple (200) subscriptions with batching", enable (commentskip) the next test instead. - Run
cabal test. - Open generated coverage report in the browser.