Wednesday, 14 June 2017

An introduction to Refactoring Java in IntelliJ using RestMud as an Example

TL;DR Never too late to refactor. Do it in small chunks. Protected by tests. Using IDE to refactor.

My RestMud game grew organically, I do have a fair bit of Unit testing, but I also perform more integration testing than unit testing.

The good thing about this approach is that the integration testing represents requirements i.e. in this game I should be able to do X, and my integration tests at a game engine level create test games and check conditions in there.