gojuno / composer

Reactive Android Instrumentation Test Runner. Archived. Marathon is recommended as an alternative (https://github.com/Malinskiy/marathon).
Apache License 2.0
546 stars 45 forks source link

Error when no test found #132

Closed MapleInSpring closed 6 years ago

MapleInSpring commented 6 years ago

Is there a flag like failIfNoTests=false in MVN instead of outputting an Error?

Our use case is that we are keeping a group of tests from annotation and the number of tests may vary. Then the number becomes zero. Composer will output an Error. Is there a way to ignore the Error siliently when there are no tests?

artem-zinnatullin commented 6 years ago

At the moment — no, that was crucial for us as we had experience with another test runner that passed build if no tests were run.

However you can add such option, PR is welcomed :)

dsvoronin commented 6 years ago

Our case: we develop impact analysis tool for ui tests right now and its absolutely valid case to have all tests skipped if no changes in dependent code was made

dsvoronin commented 6 years ago

can we close it?

yunikkk commented 6 years ago

Sure, thanks