godot-yet-another-behavior-tree icon indicating copy to clipboard operation
godot-yet-another-behavior-tree copied to clipboard

Add unit tests for each node

Open Earewien opened this issue 2 years ago • 1 comments
trafficstars

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 avatar Dec 31 '22 10:12 Earewien

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

Earewien avatar Jan 28 '23 15:01 Earewien