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
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
When I run the tests in VS 2008 it works fine. On the CI agents I'm getting this error for only one tests. The rest of them pass. If I ignore this test another single tests fails for the same reason.

If more information is needed please ask! =)

Test(s) failed. System.NullReferenceException : Object reference not set to an instance of an object.
at f7.d(f0 A_0)
at f7.a()
at f7.c(Object A_0)
at CR_NCover.Tests.PluginSpecs.PluginWithAnOpenSolution.Setup() in
asked by dangilkerson (600 points)

1 Answer

0 votes
Hi,

I'm going to need a bit more info -
- What CI system do you use? what test runner?
- How do you run the Isolator tests in your CI setup?
- Are your tests decorated with the Isolated attribute? tests that fail only when run in suite are often because of stale isolation expectations. This attribute ensures correct clean up of these expectations.

Doron,
Typemock Support
answered by doron (16.5k points)
...