neoforged / Documentation

The repository containing Neo's documentation
MIT License
27 stars 44 forks source link

Test framework needs to be documented for how to use #86

Open TelepathicGrunt opened 4 months ago

TelepathicGrunt commented 4 months ago

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 with runGameTestServer runs.

The init method needs to be called in a mod entry point.

TelepathicGrunt commented 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

ChampionAsh5357 commented 4 months ago

Gonna add the JUnit subproject as an addendum to this: https://github.com/neoforged/NeoForge/pull/573