SerializationException only happens in NUNit but not in TestDriven.NET
"Roy Osherove" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <[email protected]> |
I wonder if anyone has come across this. I'm running tests that may be using multiple threads underneath (integration style). The tests seem to run fine in TestDriven.NET but when run with NUnit gui (using the testdriven menu Test with->NUnit 2.4) there is a problem. all the tests look green but the bar on top is red and I can see different issues. one of them is not being able to find an assembly or one of its dependencies (the Microsoft Unity Assembly). Another issue is a SerializationException: "MyProject.MyAssembly.MyClassTestName: An unhandled System.Runtime.Serialization.SerializationException was thrown while executing this test : Unable to find assembly 'Microsoft.Practices.Unity, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'." If I run the tests *Seperately* they pass just fine. -- Thanks, Roy Osherove www.TypeMock.com - Simplify Unit Testing Author of "The Art Of Unit Testing" ( http://ArtOfUnitTesting.com ) www.ISerializable.com (blog) ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users