mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-11-22 19:58:39 +00:00
* tests: show xftp-web errors as text, limit chunks to description sizes * tests: download chunks of one server in sequence in xftp-web * xftp-web: show error messages as text * xftp-web: define size units in the chunks module * xftp-web: limit downloaded chunks to the sizes in file descriptions * ci: type-check xftp-web pages * xftp-web: download chunks of one server in one sequence * tests: import Data.ByteString.Char8 as BC in xftp-web tests * xftp-web: show the empty file message as text * ci: revert xftp-web page type-check * tests: require chunks in xftp-web file descriptions * xftp-web: require chunks in file descriptions
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". - Run
cabal test. - Open generated coverage report in the browser.