Torsten
Torsten

Reputation: 1986

Skip all tests of a single project

I have a (flat) multi project layout. I'm running gradle 2.1, but an upgrade would be possible.

At the moment I'm migrating an ant build to gradle. For this procedure I would like to exclude/skip/disable a single project from being tested, since its execution takes a long while.

I could only find tips on how to skip tests completely, but that's not what I want, because I also need to run the tests of subsequently added projects, to see if there are any runtime dependencies missing.

Upvotes: 1

Views: 60

Answers (1)

Opal
Opal

Reputation: 84854

Try:

gradle -x :your_project_name:test

Upvotes: 4

Related Questions