Skip to content

GD-352: Add support testing Godot Plugins @tool classes #352

@MarcMenghin

Description

@MarcMenghin

Feature Type

API/Framework enhancement

Problem/Use Case

I am in the process of writing a Godot Editor Plugin. Some functionality can be tested fine with gdUnit, which is great. But I am missing the ability to test Godot Editor specific code parts (from C#). It seems this is not supported right now.

Proposed Solution

Similarly to the currently provided [RequireGodotRuntime] there could be a [RequireGodotEditor]. And if set on a test it ideally executes in a new Godot Editor instance. It might only be possible to execute such tests from an IDE, which would be sufficient.

Alternatives Considered

No response

Impact and Benefits

Possibility to see if activation and deactivation of a written plugin works as expected. Furthermore, integration into the Godot Editor UI could be tested.

Implementation Notes

No response

Examples and References

No response

Contribution

  • I'm willing to contribute code for this feature
  • I'm willing to help with testing/feedback
  • I'm willing to help with documentation
  • I would just like to request this feature

Metadata

Metadata

Assignees

Labels

gdunit4.apiIssue is related to the `gdunit4.api`
No fields configured for Feature.

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions