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

[CI] Basic smoke test #15

Open
TheElan opened this issue Nov 17, 2021 · 1 comment
Open

[CI] Basic smoke test #15

TheElan opened this issue Nov 17, 2021 · 1 comment

Comments

@TheElan
Copy link
Collaborator

TheElan commented Nov 17, 2021

It would be nice to test if MC at least starts and loads world correctly with your changes. There is a libs which allow integration tests.

The proposition is as follows:

  1. Add MinecraftJUnit library as a default dependency to the mod dependencies list (or any better lib with similar functionality)
  2. Implement smoke tests which check if server starts up correctly and world is able to load
  3. Add CI workflow which runs said tests.
  4. Add junit report collection to workflow (junit should output a xml report in build), you could use action-junit-report for this (chosen arbitrary as a first link in the search)
@TheElan
Copy link
Collaborator Author

TheElan commented Nov 21, 2021

#24 should add a server starter smoke test (although it isn't testing obfuscation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant