Closed andreasabel closed 9 months ago
I could reproduce this now in tasty-silver
's own testsuite.
$ cabal get tasty-silver-3.3.1.2
$ cd tasty-silver-3.3.1.2
With tasty-1.5
:
$ cabal test --enable-tests -c 'tasty==1.5'
...
tests
findByExtension: OK (0.00s)
tests
Filter.checkRF
empty1a: OK (0.00s)
Filter.checkRF
empty1b: OK (0.00s)
Filter.checkRF
empty2a: OK (0.00s)
Filter.checkRF
empty2b: OK (0.00s)
With tasty-1.4.3
:
$ cabal test --enable-tests -c 'tasty==1.4.3'
...
findByExtension: OK (0.00s)
Filter.checkRF
empty1a: OK (0.00s)
empty1b: OK (0.00s)
empty2a: OK (0.00s)
empty2b: OK (0.00s)
So it could be that the change manifests itself because tasty-silver
sets up test-trees in a peculiar way. Need to investigate this more.
This was actually botched update of tasty-silver
to tasty-1.5
:
THIS IS STILL A DRAFT ISSUE! Investigation is still ongoing, so no need to answer/address this now.
I noticed a change in the test reporting for Agda. I now prints:
I.e., it repeats the group
Succeed
for each single test. It used to print this:This follows the structure of the test tree directly and feels like the natural thing to do.
I pin this observation to the switch from
tasty-1.4.3
totasty-1.5
. I have not tried yet to establish hard evidence for this though. However, no change happened on our side or in ourtasty
-client,tasty-silver
.Looking through the changes between 1.4.3 and 1.5 I noticed a strange commit: https://github.com/UnkindPartition/tasty/commit/8043c0cddc59e6ae389e2dfb52b20d0543b76a28 It is labelled "clean code" but it does change
to
A priori, this is not just a cleaning, but it is a semantic change, invoking
getTraversal printBody
now even whennot nonempty
. (I am getting heartbleed vibes here.)Questions:
Also, the changelog for 1.5 does not mention the change in behavior.