tmakin / RhinoCommonUnitTesting

Example of unit testing RhinoCommon from within the Visual Studio test runner on windows
35 stars 14 forks source link

Merge RhinoInside adaptation to master #6

Closed marios-tsiliakos closed 3 years ago

marios-tsiliakos commented 3 years ago

Hi @tmakin I've adapted the vs tests to use Rhino.Inside, so no need to load the assemblies "manually" anymore.

The xunit adaptation is not working as expected. Xunit is still like a black box. But I guess the reason is primarily that it missing a functionality similar to [AssemblyInitialize]. the closest thing I could find is this!

Have a look and let me know how these edits look like.

Also it seems for the newer versions of GH the assembly doesn't load automatically either. So fixed this as well.

marios-tsiliakos commented 3 years ago

Forgot to refactor this. and pushed directly to master :)

marios-tsiliakos commented 3 years ago

Fixed the rhino.inside issue with xunit. Grasshopper.dll doesn't load properly though. so I need to manually load the assembly. Will have another look

marios-tsiliakos commented 3 years ago

also resolved the conflicts