lundi 21 janvier 2019

How to execute all pending tests

It seems I've configured something unexpected in my sbt and have no idea how to revert test configuration. Every time of test running I have same pending tests in the same class.

How do I:

> sbt
> test

[info] ExampleSpec:
[info] A Stack
[info] - should pop values in last-in-first-out order
[info] - should throw NoSuchElementException if an empty stack is popped
[info] SumOfMultiplesTest:
[info] - multiples of 3 or 5 up to 1
[info] - multiples of 3 or 5 up to 4 (pending)
[info] - multiples of 3 up to 7 (pending)
[info] - multiples of 3 or 5 up to 10 (pending)
[info] - multiples of 3 or 5 up to 100 (pending)
[info] - multiples of 3 or 5 up to 1000 (pending)
[info] - multiples of 7, 13 or 17 up to 20 (pending)
[info] - multiples of 4 or 6 up to 15 (pending)
[info] - multiples of 5, 6 or 8 up to 150 (pending)
[info] - multiples of 5 or 25 up to 51 (pending)
[info] - multiples of 43 or 47 up to 10000 (pending)
[info] - multiples of 1 up to 100 (pending)
[info] - multiples of an empty list up to 10000 (pending)
[info] Run completed in 377 milliseconds.
[info] Total number of tests run: 3
[info] Suites: completed 2, aborted 0
[info] Tests: succeeded 3, failed 0, canceled 0, ignored 0, pending 12
[info] All tests passed.
[success] Total time: 1 s, completed Jan 21, 2019 4:19:47 PM

The pending tests every time the same.

Question:

How to start all tests (pending also) in sbt?

Aucun commentaire:

Enregistrer un commentaire