Alex Shwarc
Alex Shwarc

Reputation: 885

How to run test for Grails service

When I run

grails test-app MessageServiceSpec

or grails test-app mypackage.MessageServiceSpec

I always get an error

No tests found for given includes: [MessageServiceSpec]

What is wrong here?

UPDATE: run command is

grails test-app -unit packageName.MessageServiceSpec

Upvotes: 3

Views: 510

Answers (1)

Carlos Parraga
Carlos Parraga

Reputation: 461

grails test-app -unit mypackage.MessageService

Upvotes: 1

Related Questions