Stefan Kendall
Stefan Kendall

Reputation: 67892

Excluding packages from grails test-app?

Is there a way to exclude packages from the default test-app runner? I have a set of long-running tests I want to run separate from other tests and I'm looking for a way to exclude a specific package from the running of grails test-app.

Is this possible?

Upvotes: 1

Views: 1793

Answers (2)

gogstad
gogstad

Reputation: 3739

Grails support the concept of custom test types that lets yout separate tests into different custom types other that unit/integration/functional. See http://ldaley.com/post/615966534/custom-grails-test for how.

Upvotes: 1

Gregg
Gregg

Reputation: 35904

To my knowledge you cannot exclude, but you can include specific packages. Which will still get you there.

Grails Testing Docs

Upvotes: 2

Related Questions