
Hello, Are there any known issues with doctest and hpc? Cabal test runs correctly, but hpc doesn't seem to see anything. I have tried to make some of the test fail on purpose so see it hpc would pick it up, since there is additional output from cabal test when there is a failure, but it doesn't help. -- -- test file -- module Doctests where import Test.DocTest main :: IO () main = doctest ["-isrc", "src/Ch1.hs"] -- -- command line -- $ cabal test Building DiscreteMathematicsUsingAComputer-0.1.0.0... Preprocessing library DiscreteMathematicsUsingAComputer-0.1.0.0... In-place registering DiscreteMathematicsUsingAComputer-0.1.0.0... Preprocessing test suite 'doctests' for DiscreteMathematicsUsingAComputer-0.1.0.0... Warning: output was redirected with -o, but no output will be generated because there is no Main module. Running 1 test suites... Test suite doctests: RUNNING... Test suite doctests: PASS Test suite logged to: dist/test/DiscreteMathematicsUsingAComputer-0.1.0.0-doctests.log Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Test coverage report written to dist/hpc/html/doctests/hpc_index.html 1 of 1 test suites (1 of 1 test cases) passed. Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Package coverage report written to dist/hpc/html/DiscreteMathematicsUsingAComputer-0.1.0.0/hpc_index.html Ryan
participants (1)
-
ryan