djcrankypants / spock

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

Data-driven testing does not work with PowerMockito #329

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The attached test will fail with:

java.lang.Exception: Method $spock_feature_0_0 should have no parameters

I would like to be able to do data-driven testing in Spock using PowerMockito.

Original issue reported on code.google.com by eirik.ha...@gmail.com on 4 Sep 2013 at 8:27

Attachments:

GoogleCodeExporter commented 8 years ago
I don't know what exactly PowerMockRunner does, but it's very likely 
incompatible with Spock (which has its own custom JUnit runner).

Original comment by pnied...@gmail.com on 4 Sep 2013 at 8:35