Quantcast
Channel: CSLA .NET
Viewing all articles
Browse latest Browse all 764

Unit tests failing if running entire suite

$
0
0

We're introducing Csla into some existing solutions and I'm writing tests for some Csla command objects.  The tests run fine individually, but if I try to run the entire suite of tests for the other code in the libraries, the DataPortal throws a SerializationException.

 System.Runtime.Serialization.SerializationException : Unable to find assembly XYZ.Common.Business, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
   at Csla.DataPortal`1.Update(T obj) in d:\Visual Studio Projects\MarimerLLC\csla\Source\Csla\DataPortalT.cs: line 819
   at XYZ.Common.Business.Commands.CheckIfEmailInUse.IsEmailInUse(Int32 Id, String email) in CheckIfEmailInUse.cs: line 85
   at XYZ.Test.Common.Commands.CheckIfEmailInUseSpecs.Because() in CheckIfEmailInUseSpecs.cs: line 54

I'm running the tests through R# 8 (the latest build) in VS2012.  Any ideas?


Viewing all articles
Browse latest Browse all 764

Trending Articles