macro187 / testrunner

A console MSTest runner
MIT License
20 stars 11 forks source link

Remove assembly reference(s) from test suites to TestRunner #8

Closed macro187 closed 7 years ago

macro187 commented 7 years ago

All tests currently fail with the following exception, likely due to how per-test-assembly child processes are being run. Does not occur on Windows.

Could not resolve type with token 01000008
  Type: System.TypeLoadException
  StackTrace:
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038]
      in <f712f98eb8e445c8918edaf595bbe465>:0
macro187 commented 7 years ago

Temporarily resolved by using the newly-built testrunner to test itself.

Better fix will be to remove (assembly) reference from the test suite to TestRunner, and just compile in the required infrastructure bits.

macro187 commented 7 years ago

Done