mesecons icon indicating copy to clipboard operation
mesecons copied to clipboard

Add automated tests for some mods

Open TurkeyMcMac opened this issue 2 years ago • 3 comments

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.

TurkeyMcMac avatar Apr 02 '22 18:04 TurkeyMcMac

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... 🤷

S-S-X avatar Apr 09 '22 21:04 S-S-X

I can make a PR, but the functionality is quite limited. Not even get_data is supported.

TurkeyMcMac avatar Apr 09 '22 21:04 TurkeyMcMac

@S-S-X The VoxelManip PR for mineunit is now ready for review. It doesn't use the code from this PR.

TurkeyMcMac avatar May 10 '22 12:05 TurkeyMcMac