jjtParadox / Barometer

An old experimental test library for 1.12 MinecraftForge mods.
GNU Lesser General Public License v3.0
7 stars 3 forks source link

Add client interaction functionality #10

Open tdaffin opened 6 years ago

tdaffin commented 6 years ago

I'm not sure if this is the kind of thing you want to do with this tool, but I find it really useful to be able to keep the test world open when testing is over, and then connect to it with a client and take a look around to see if the world looks the way I expect it should given the tests that I've run.

To this end I've added the following features:

jjtParadox commented 6 years ago

I like this idea, but I think this should be separate from the usual gralde test command to prevent people from accidentally throwing away CI minutes by leaving the server running.

Could this instead be made into a server command that runs the tests in an already running environment?

tdaffin commented 6 years ago

I see what you mean. I like the idea of using server commands to control the testing as well -- it might also be possible to add commands to run just one test at a time and so forth. I'll look into the simplest re-implementation of this as commands first, and then perhaps look into additional commands in subsequent pull requests.