Minetest-WorldEditAdditions icon indicating copy to clipboard operation
Minetest-WorldEditAdditions copied to clipboard

//test

Open VorTechnix opened this issue 1 year ago • 3 comments

Problem

We need a command for testing things within Minetest worlds. #115 was only found because of an omission in a command during development so it would be nice to have a command to use for showcasing features and attempting to break things on purpose.

Solution

//test list || <testname> [<args>]

Alternatives

A separate mod that would depend on WEA and WEA Core that would allow us to poke and prod at potentially vulnerable components.

VorTechnix avatar Oct 10 '24 16:10 VorTechnix

This is nice, but we need to be clear that tests done with this are specifically ref the bits you can't do without Minetest.

the Busted automated testing system should be used wherever possible.

sbrl avatar Oct 10 '24 16:10 sbrl

in theory it might be possible to run the core command runner under Busted.

sbrl avatar Oct 10 '24 16:10 sbrl

** the reason for using Busted wherever possible is that busted runs on every commit.

Speaking of which, I really need to get around to squashing all the busted errors so our tests pass again.

sbrl avatar Oct 11 '24 02:10 sbrl