Home Running a single integration test/ single test class
Reply: 0

Running a single integration test/ single test class

user640
1#
user640 Published in June 19, 2018, 2:26 pm

I was trying to run a single test or a single class from the grails cli, but no matter what I tried I am unable to find out how to do that. Does anyone of you have an idea what could be the command for doing that?

What I tried so far

  • test-app -integration -Dtest.single=package.ClassSpec: still runs all of the tests. Replacing package with a wildcard doesnt change anything.
  • test-app *ClassSpec* -integration: runs 10 actionable tasks, not entirely sure which tests are these, the class doesnt have 10 tests.

I am using Grails 3.3.2

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.314891 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO