Forgus / spock

Automatically exported from code.google.com/p/spock
0 stars 0 forks source link

Need to run single method inside a test. #362

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Just as junit allows, ability to run single method of test class.

Original issue reported on code.google.com by chaudhar...@gmail.com on 23 Apr 2014 at 11:07

GoogleCodeExporter commented 8 years ago
It's already supported, and works just the same as in JUnit. Where are you 
having problems with this, i.e. in which environment are you executing tests?

Original comment by pnied...@gmail.com on 23 Apr 2014 at 11:16

GoogleCodeExporter commented 8 years ago
Issue 363 has been merged into this issue.

Original comment by pnied...@gmail.com on 23 Apr 2014 at 11:16

GoogleCodeExporter commented 8 years ago
when running in grails environment like 

test-app -functional com.sony.np.cmt.specs.entitlement.UnifiedEntitlementSpec 

how can we say which test in above test class ?

Original comment by chaudhar...@gmail.com on 16 May 2014 at 10:55

GoogleCodeExporter commented 8 years ago
I don't know if running single test methods is supported by Grails, but you 
should find the answer in the Grails docs, or you could ask on the Grails forum.

Original comment by pnied...@gmail.com on 17 May 2014 at 2:01