chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes


With a test I am using the DataTestMethod and DataRow attributes to have one test method using different parameter values. 

public void MyTestMethod(int myParameter)


When starting the test using TypeMock I get this response:

TestRunner Error: Unexpected Error, when trying to run test: nameoftestmethod [Pending]

Does TypeMock support these attributes? If so am I missing something?

If not is there a estemate when this will be supported?


Thanks in advance,





asked by aptido (630 points)

1 Answer

0 votes
Best answer
Hi André,


Typemock Isolator  does not support using Test Methods with parameters and those attributes yet,

for now we can suggest you use local variables inside of your tests.



answered by Daniel (1.3k points)
selected by aptido
Thanks to clear it up.

When running the test using Reshaper Test Session it works.

That good enough for me :)