Enable creation of Unit-test components based on a normal engine component
- Dominant language
- C#
- Stars
- 18
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
#### Description:
For creation of datadriven unit-tests, it would be handy if one could simply turn a normal BHoM component into a UnitTest component via the rightclick menu.
This could significantly speed up the process of going from a working test-script into datadriven unit tests, without having to search up the correct method (and arguments) again and re-stich all the wires together.
Suggesting addition of a meny item that essentially lets you make a "copy" of the component, but as a unit test, and that then adds it to the document.
Contributor guide
Research direction
Start by tracing how normal BHoM components expose their right-click menus and how UnitTest components are added to a Grasshopper document. Define the conversion behavior, including preserving the method and arguments, then verify that the copied component appears as a UnitTest component with its existing wires intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100