New Posts New Posts RSS Feed: Unit Testing?
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Unit Testing?

 Post Reply Post Reply
Author
davidklitzke View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Posts: 715
Post Options Post Options   Quote davidklitzke Quote  Post ReplyReply Direct Link To This Post Topic: Unit Testing?
    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 support@ideablade,com.
 
 
Back to Top
sheldonj View Drop Down
Newbie
Newbie
Avatar

Joined: 27-Mar-2008
Location: United States
Posts: 1
Post Options Post Options   Quote sheldonj Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down