mesecons
mesecons copied to clipboard
Add automated tests for some mods
The tests use mineunit, a nice Minetest testing framework based on Busted.
mesecons, mesecons_mvps, mesecons_fpga, and mesecons_luacontroller are tested. I don't want to add tests for every mod in the modpack, because that would be even more work.
A testing job now runs automatically just like luacheck.
If you like you could drop PR for VM here: https://github.com/S-S-X/mineunit/blob/master/voxelmanip.lua replacing empty shell implementation there. Reason it is like that is simply because that happened to cover all functionality needed for thing I was working with... 🤷
I can make a PR, but the functionality is quite limited. Not even get_data
is supported.
@S-S-X The VoxelManip PR for mineunit is now ready for review. It doesn't use the code from this PR.