The current CI has no tests in it.
I got Jasmine working in Minecraft and use it to unit test the Magikcraft plugins that are built on top of ScriptCraft (example). I also have this working with Nukkit to test our code on Minecraft PE.
It should be possible to layer the SMA image and build different ones with various server combinations, such as Paper 1.14 / 1.15 / 1.15.2, Spigot 1.14 / 1.15 / 1.15.2 etc, Nukkit and write unit tests for ScriptCraft. That way we can know to some degree what combinations are working, and detect when things break and how effective our fixes are.
It's worth it for me to invest some time in doing this, to get it working generally and for the specific version combinations that I am targeting, because ScriptCraft is upstream for Magikcraft - and if I do the work upstream other people can leverage it to add test configs for the combinations that they are using.
The current CI has no tests in it.
I got Jasmine working in Minecraft and use it to unit test the Magikcraft plugins that are built on top of ScriptCraft (example). I also have this working with Nukkit to test our code on Minecraft PE.
It should be possible to layer the SMA image and build different ones with various server combinations, such as Paper 1.14 / 1.15 / 1.15.2, Spigot 1.14 / 1.15 / 1.15.2 etc, Nukkit and write unit tests for ScriptCraft. That way we can know to some degree what combinations are working, and detect when things break and how effective our fixes are.
It's worth it for me to invest some time in doing this, to get it working generally and for the specific version combinations that I am targeting, because ScriptCraft is upstream for Magikcraft - and if I do the work upstream other people can leverage it to add test configs for the combinations that they are using.