Open TelepathicGrunt opened 4 months ago
A small example mod with testframework on would go a long way for users too. There's quite a bit of setup with test framework
Gonna add the JUnit subproject as an addendum to this: https://github.com/neoforged/NeoForge/pull/573
The current documentation is in these gists
https://gist.github.com/Matyrobbrt/832c0d88a90ae15f5f665bb794a48198 https://gist.github.com/Matyrobbrt/cac2427748a51ff2bfc82fcd03606b55
It requires a dependency of
net.neoforged:testframework
using the same version as NeoForge and ran withrunGameTestServer
runs.The init method needs to be called in a mod entry point.