I had a good time with Nunit 2.6 + ReSharper 7, but after I install Ncrunch, my Visual Studio 2010 just fell apart and I can't run Unit Tests inside the Unit Test Sessions.
Error Message:
The project xxxx has not been built
Typical setup would be
Project XXXX - No Main
Project XXXX.Test - Some Code
Some code in XXXX.Test
[TestFixture]
public class Entry
{
[Test]
public static void ThisWillPass()
{
Assert.AreEqual(1,2);
}
}
Note: I did set the Configuration Manager to "build" on the xxxx.test
Please advise.
Is your project set as AnyCPU? If not check the resharper settings for a setting that controls if the framework it uses running the tests is 32bit or 64bit and make sure it is set the same.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With