Sample project evidencing this:
https://github.com/dkowis/Cucumber-JVM-Example

Both things build and claim to run the tests, but somehow, the gradle
test task isn't running the tests the same way. I'd expect that since
they're both being run via junit it wouldn't be a problem, but something
isn't quite right.

mvn test executes and runs 14 tests, all of which are passing
gradle test executes 0 tests. It does find the files, and attempt to do
things, but nothing at all happens, no std-err output, no failures, just
no tests are executed.

I don't believe it's a problem with the Junit runner, else it would have
issues running in maven, or in my IDE. Therefore, there must be an
anomaly in how gradle executes them.

Could someone take a look at this and see if perhaps I did something
glaringly wrong, or maybe there's an actual bug in how gradle does it's
testing?

David

PS: the cucumber task in this fails for reasons described in a different
email, so that doesn't work here, but gradle test should work just fine.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to