rtfeldman / node-test-runner

Runs elm-test suites from Node.js. Get it with npm install -g elm-test
BSD 3-Clause "New" or "Revised" License
132 stars 79 forks source link

from 0.19.1-revision2 to 0.19.1-revision7 (btu same with 9 and 12) skip some tests running #631

Open ubourdon opened 11 months ago

ubourdon commented 11 months ago

I experienced some really strange BUG with upgrading node-test-runner from 0.19.1-revision2 to more recent version of lib. When i launch my test suite, some test are not launched, if i make fail those tests, nothing happened, etc... but some others continue to be launched. I upgrade my elm-explorations/test to latest version but it change nothing.

The weirdest thing is, when i go to un-launched test, i delete the suite type signature and redo the test signature (with type Test) it again launched.

Have you some explanation to that ?

Thx

ubourdon commented 11 months ago

I have yet 20 tests that are not launched. Impossible to reproduce why those tests are not launched

lydell commented 11 months ago

Hi! It’s a bit difficult to follow what you are doing. Can you provide steps to reproduce?

ubourdon commented 11 months ago

I fail te reproduce the case. I have some tests that are bypass, but i am not able to write a new test that are bypassed ... I will try to do so and comeback here to give feedback.

ubourdon commented 11 months ago

I don't unserstand how to repoduce it. What i know, it :

lydell commented 11 months ago

All exposed values of type Test are executed. Both with and without type annotation should be supported.

ubourdon commented 11 months ago

But that is not what i have experienced :/ It is really weird

ubourdon commented 11 months ago

And sorry i can't yet produce a more comprehensible example ...