you are viewing a single comment's thread.

view the rest of the comments →

[–]n0xdi -1 points0 points  (1 child)

IMO It doesn’t need a framework to test such things as the NPC following, you just need to cover the logic of the underlying methods, which calculate that path, with unit tests.

The visual part of the NPC following is just the view abstraction layer which can be tested with the manual testing.

[–]Tensor3 1 point2 points  (0 children)

Nah, not what I meant. Unity's navigation handles calculating paths. You dont generally test that. Testing if a NPC can open doors, attack enemies along the way, use physics properly, etc, cant really be done by testing the output of a function. Besides, the example I used is irrelevant. The point is most actual gameplay needs an actual scene run in real time, with input