Skip to content

Add unit tests for each node #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks
Earewien opened this issue Dec 31, 2022 · 1 comment
Open
2 tasks

Add unit tests for each node #2

Earewien opened this issue Dec 31, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Earewien
Copy link
Owner

Even if there is few code in this add-on, things can be quickly complicated when composing multiple behavior tree nodes.

It is necessary to add unit tests to improve stability

  • Deploy GdUnit 4 works on Godot 4 beta 10 in behavior tree project
  • Code some tests !
@Earewien Earewien added the enhancement New feature or request label Dec 31, 2022
@Earewien Earewien self-assigned this Dec 31, 2022
@Earewien
Copy link
Owner Author

I see two major unit test framework for Godot :

  • GUT
  • GDUnit 4

Both are awesome, but at the moment there are very instable for Godot 4 (beta).

I start to create my own add-on to do unit testing in Godot, with KISS in mind ! Just an easy way to run testsuites/testcases, to exploit the report. And some useful stuf to test nodes/scripts, like assertions, typed assertions, frame simulator, ...

Ok I'm a little crazy, but, yeah, l love that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant