also still have not released "production" version so install command requires dev branch
luarocks install --server=https://luarocks.org/dev --local mineunit
qos has some clean tests with mineunit, might be good to look at:
Tried this and yes some changes would be needed.
tests -> spec is recommended (and maybe even required currently?) because mineunit uses only spec directory for tests and configurations by default.
Changes to test code are not that big, after renaming tests to spec:
After that luacheck however will complain about mineunit and sourcefile, no integration (yet) and so far I've simply added exclude_files = {"**/spec/**"} to .luacheckrc to not complain about test code at all.
changed busted . to mineunit --coverage --quiet && mineunit --report
Per SX on Discord:
https://discord.com/channels/513329453741637637/809890578753650770/825866231835000892 https://discord.com/channels/513329453741637637/809890578753650770/826083288766218281