Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TelepathicGrunt opened this issue May 25, 2024 · 2 comments
Open

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

TelepathicGrunt opened this issue May 25, 2024 · 2 comments
Labels
addition Adding or rewriting information.

Comments

@TelepathicGrunt
Copy link
Contributor

TelepathicGrunt commented May 25, 2024

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
Copy link
Contributor Author

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
Copy link
Contributor

Gonna add the JUnit subproject as an addendum to this: neoforged/NeoForge#573

@IchHabeHunger54 IchHabeHunger54 added the addition Adding or rewriting information. label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition Adding or rewriting information.
Projects
None yet
Development

No branches or pull requests

3 participants