After a bit of a hectic few days I managed to get basic gametests running.
I followed the primer and it got more and more clear with every new readthrough.
The primer has an ExampleTestInstance
which is the E2ETests file of mine. This is extremely ugly for neo 1.21.5 but it proves the point. A TestInstance
(yarn) which is the equivalent of GameTestInstance
in mojmap is a "single test". Its start method is the body of the test. Since my E2ETests class is an old test for a different setup, it just now acts as a runner of my old tests but it does the trick - kinda. I don't recommend this in the long run but it's a good step in my refactoring.
Now this `TestInst