unit testing - MSpec runs under ReSharper fine, but TD.NET throws exception -


i've been receiving exception when trying run mspec specification tests td.net.

------ test started: assembly: designrightweb.specs.dll ------  error: runner failure: system.runtime.serialization.serializationexception: type not         resolved member 'machine.specifications.runner.runoptions,machine.specifications,     version=0.3.0.0, culture=neutral, publickeytoken=null'.    @ system.appdomain.createinstanceandunwrap(string assemblyname, string typename, boolean ignorecase, bindingflags bindingattr, binder binder, object[] args, cultureinfo culture, object[] activationattributes, evidence securityattributes)    @     machine.specifications.runner.impl.appdomainrunner.createrunnerandunloadappdomain(string     runmethod, appdomain appdomain, assembly assembly, object[] args) in d:\buildagent-    01\work\340c36596c29db8\source\machine.specifications\runner\impl\appdomainrunner.cs:line     81 test 't:designrightweb.specs.given_a_string_calculator' failed: type not resolved     member 'machine.specifications.runner.runoptions,machine.specifications,     version=0.3.0.0, culture=neutral, publickeytoken=null'.     system.runtime.serialization.serializationexception: type not resolved member 'machine.specifications.runner.runoptions,machine.specifications, version=0.3.0.0, culture=neutral, publickeytoken=null'.     @ system.appdomain.createinstanceandunwrap(string assemblyname, string typename, boolean ignorecase, bindingflags bindingattr, binder binder, object[] args, cultureinfo culture, object[] activationattributes, evidence securityattributes)     @ machine.specifications.runner.impl.appdomainrunner.createrunnerandunloadappdomain(string runmethod, appdomain appdomain, assembly assembly, object[] args)     @ machine.specifications.runner.impl.appdomainrunner.runmember(assembly assembly, memberinfo member)     @ machine.specifications.tdnetrunner.specificationrunner.runmember(itestlistener testlistener, assembly assembly, memberinfo member)     @ testdriven.testrunner.adaptortestrunner.run(itestlistener testlistener, itracelistener tracelistener, string assemblypath, string testpath)     @ testdriven.testrunner.threadtestrunner.runner.run()  0 passed, 1 failed, 0 skipped, took 1.12 seconds (mspec). 

i've tried installing mspec straight github , installed using nuget. after - while receiving same exception - uninstalled td.net , re-installed td.net. still receiving exception.

any ideas? thoughts? solutions?

could need register mspec test runner testdriven.net? check out post you:

http://eduncan911.com/blog/registering-mspec-runners-for-testdriven-net-on-windows-x64.aspx


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -