Earewien / godot-yet-another-behavior-tree

A Behavior Tree implementation for Godot Engine
Apache License 2.0
78 stars 6 forks source link

Add unit tests for each node #2

Open Earewien opened 1 year ago

Earewien commented 1 year ago

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

Earewien commented 1 year ago

I see two major unit test framework for Godot :

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