NUnit-console 2.5.4 not capable of running multiple assemblies?

Posted by Per Salmi on Stack Overflow See other posts from Stack Overflow or by Per Salmi
Published on 2010-04-16T14:39:22Z Indexed on 2010/04/16 14:43 UTC
Read the original article Hit count: 534

Filed under:
|
|

I am having problems running tests with the command line NUnit test runner.

I am using version 2.5.4 with .NET 4 on an x64 machine.

Using the following line results in a failure "Could not load file or assembly 'bar' or one of its dependencies. The system cannot find the file specified."

nunit-console-x86 foo.dll bar.dll /framework=4.0.30319

If I reverse the dll file names it complains about not finding 'foo' instead...

It works if I run them separately like:

nunit-console-x86 foo.dll /framework=4.0.30319

Also the tests of the second file works if I run:

nunit-console-x86 bar.dll /framework=4.0.30319

Before upgrading our projects to 4.0 we used NUnit 2.5.2 and the same command line tool options and at that point the runner worked well with multiple assemblies. It seems like the ability to run tests on multiple files at the same time is broken...

Anyone that can see the same behavior or does it work indicating that my environment is somehow broken?

/Per

© Stack Overflow or respective owner

Related posts about nunit

Related posts about nunit-console