After some excellent work by Chris Grindstaff, Tyrant now boasts a growing collection of JUnit tests.
For those who haven't used them before, unit tests are automated tests that check that different parts of the code are functioning correctly. Every time a developer makes some changes, they can run the unit tests to ensure that none of the old functionality is broken.
Without unit tests, developers have to chech manually that everything is working correctly. This is very time consuming. Imagine having to test every single item and monster in Tyrant every time the code is changed! Inevitably bugs fall through the cracks.
Now that Tyrant has unit tests, we can expect to see:
- Less bugs due to existing features being broken accidentally
- Faster progress since the developers have to spend less time testing manually
Thanks Chris for the great contribution!