(by illusionwing)
Provides a set of tools to test and ensure your code/GH definition works as expected.
Support Email

This plugin is not Pancake and it doesn't require Pancake. It's like an extension or a module of Pancake.

PancakeContract provides a set of tools to test and ensure your GH definitions or written components work as expected. It's mainly for:

  • Those who write plugins/scripts, and need to do sort of unit-test with GH.
  • Those who share their own GH definition with others, and want to ensure the definition is used correctly.
  • Those who write complicated definitions, and need to ensure data structure in every step is expected.

The plugin supports various checks (asserts), incl. equality, same structure, same content, no error message, etc., besides the ability to fast-fail. You can see visual feedback from the color of checks, or a centralized window indicating of test results popped up automatically when the definition includes asserting components.

It's still a very preliminary version. Don't hesitate to leave a message if you find bugs or space to improve.

License Cost:
For instructions on installing Grasshopper Add-Ons, please see FAQ for details.
Grasshopper for Rhino 4 & 5 for Win
Grasshopper for Rhino 6 for Win
Grasshopper for Rhino 5 Mac
Grasshopper for Rhino 6 Mac