Unit Testing?
Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=745
Printed Date: 11-Jun-2026 at 6:22am
Topic: Unit Testing?
Posted By: sheldonj
Subject: Unit Testing?
Date Posted: 27-Mar-2008 at 11:54am
Good Afternoon,
I'm trying DevForce out for the first time, and was cruising through the documentation, till I got stuck on unit testing. I keep getting the error below when trying to run a simple constructor test, with the expected exception attribute. Anyone have a clue? Thanks!
Warning: Test Run deployment issue: Failed to deploy dependencies for test storage 'Path to the DLL goes here': System.Runtime.Serialization.SerializationException: Type 'IdeaBlade.Util.Locale' in assembly 'IdeaBlade.Util, Version=3.6.1.1, Culture=neutral, PublicKeyToken=287b5094865421c0' is not marked as serializable. at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityAttributes) at Microsoft.VisualStudio.TestTools.Utility.AssemblyLoadStrategy.GetDependentAssemblies(String path) at Microsoft.VisualStudio.TestTools.Utility.AssemblyHelper.GetDependentAssemblies(String path, DependentAssemblyOptions options, String configFile) at Microsoft.VisualStudio.TestTools.TestManagement.DeploymentManager.GetDependencies(String master, String configFile, TestRunConfiguration runConfig, DeploymentItemOrigin dependencyOrigin, List`1 dependencyDeploymentItems, Dictionary`2 missingDependentAssemblies) at Microsoft.VisualStudio.TestTools.TestManagement.DeploymentManager.ProcessNewStorage(String testStorage, DeploymentHelper helper, DeploymentItemOriginType originType, List`1 deploymentCoverageItems, TestRunConfiguration runConfig, List`1 dependencyDeploymentItems, Dictionary`2 missingDependentAssemblies) Failed to queue test run 'MyUsername@MyPC 2008-03-27 14:47:24': Type 'IdeaBlade.Util.Locale' in assembly 'IdeaBlade.Util, Version=3.6.1.1, Culture=neutral, PublicKeyToken=287b5094865421c0' is not marked as serializable.
|
Replies:
Posted By: davidklitzke
Date Posted: 28-Mar-2008 at 8:57am
|
I don't believe that anyone has ever reported this kind of problem. To debug the problem, we will need a simple reproducible case. Please send your test case to mailto:support@ideablade,com - support@ideablade,com .
|
|