Open danielsoutar opened 2 years ago
Yes this is a good point. Isn't it ironic that the test suite for ReTest looks so bad ;-) I've definitely focused on improving ReTest itself rather than having its own tests look nice, but it would definitely be great to improve on that front too. This isn't a priority though.
If a developer were to run the tests for
ReTest.jl
, they would observe a number of tests failing, such as those found inMain.FailingLoops
. While there is a good reason for having failing tests in ReTest.jl, namely checking the library behaves as expected when the tests fail, it is confusing/misleading for the developer, especially newcomers.It would be good to indicate which tests are expected to fail. This would be most easily achieved by moving the failing tests into a dedicated file and
include
ing it into the mainruntests.jl
file. Alternatively, we could potentially mark these withtest_broken
, although the Julia docs state that this macro is for indicating "a test that should pass".