I've been working on a module to support integration testing. Basically it wraps up some helpers for creating instances of TerasologyEngine, loading a set of modules and getting everything to the in-game state. From there you can write test code exactly like module code, and it will run in the context of a real server rather than a mocked approximation of one. It's nearly ready for human consumption so thought I'd post about it here.
There's an overview in the README, and examples in the test suite (of course).
https://github.com/kaen/ModuleTestingEnvironment
https://github.com/kaen/ModuleTestingEnvironment/tree/master/src/test/java/org/terasology/moduletestingenvironment
Bugs and feature requests should go on Github, but happy to answer general questions here as needed.
There's an overview in the README, and examples in the test suite (of course).
https://github.com/kaen/ModuleTestingEnvironment
https://github.com/kaen/ModuleTestingEnvironment/tree/master/src/test/java/org/terasology/moduletestingenvironment
Bugs and feature requests should go on Github, but happy to answer general questions here as needed.
Last edited: