Skip to content

Add Unittest component from component functionality - #761

Draft
IsakNaslundBh wants to merge 1 commit into
developfrom
Grasshopper_UI-#760-CreateUnitTestComponentFromComponent
Draft

IsakNaslundBh wants to merge 1 commit into
developfrom
Grasshopper_UI-#760-CreateUnitTestComponentFromComponent

Conversation

@IsakNaslundBh

Copy link
Copy Markdown
Contributor

Issues addressed by this PR

Closes #760

Adds initial code for creating a unit-test component based on a in-place component on the canvas in Grasshopper.

Please see issue for a bit more details, but this would essentially allow for more rapidly turning well working test-scripts into datadriven unit-tests (dataset unit tests).

The code in this PR is not suitable for merge atm, but just a proof of concept. Still needs to be figured out:

  • Which components should this apply to (think the "Engine" category filtering is not cutting it)
  • Do we want this to be included in deployed installers (cant really see the downside to it, bu could argue it should not)
  • The code needs to be more properly formated into its own method etc. Again, this is just a working proof of concept.

Not to be merged before the 9.3 release.

Test files

Changelog

Additional comments

@IsakNaslundBh IsakNaslundBh self-assigned this Sep 8, 2026
@IsakNaslundBh IsakNaslundBh added status:do-not-merge For instance, test PR, for discussion, or dependant PRs not ready for merge type:feature New capability or enhancement type:test-script Creation of unit test required labels Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:do-not-merge For instance, test PR, for discussion, or dependant PRs not ready for merge type:feature New capability or enhancement type:test-script Creation of unit test required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable creation of Unit-test components based on a normal engine component

1 participant