MeFisto94 / jme-discussion

This Repository is used to keep track of potential future feature additions to the jMonkeyEngine. Look at the Issues.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Add Unit Tests #6

Open MeFisto94 opened 4 years ago

MeFisto94 commented 4 years ago

Paul Speed probably has the argument that unit testing doesn't help as the bugs evolve around the code that isn't unit tested. I think that's a good thing then, we'll only have to ensure that the most important code is tested.

For instance I think raycasting and other scenegraph related things could make a good use of tests. e.g. we had a bug where the returned bounding box was "null". Raycasting a specific geometry and/or terrrain should be deterministic as should be the bounding box calculation, general transforms etc.

There are probably quite a few other ways.