I currently run unit tests of my plugin’s components, following the GrasshopperTests sample provided.
It worked fine until now for Rhino 7 plugins, but started failing when I tried releasing the plugin referencing Rhino 8 versions (RhinoCommon, Grasshopper, etc.).
The tests run but the expected vs. actual values don’t match. Actual values are always 0, which indicate that the plugin is not being loaded/executed (had a similar issue before). since there doesn’t seem to be a Rhino.Inside v8.0.0 package yet, is there a way of forcing the Rhino.Inside package to run the tests in Rhino 8?
@pegiachini For Rhino >=8, we have created Rhino.Testing (currently at beta) library to simplify loading Rhino for unit testing. It uses NUnit as the test runner. See this example project: