-
Notifications
You must be signed in to change notification settings - Fork 427
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
Fabric Game Test API #1622
Merged
Merged
Fabric Game Test API #1622
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ad90675
First proof of concept pass
modmuss50 89de800
Cleanup and fixes.
modmuss50 70fdebb
Checkstyle
modmuss50 3c1b06a
Fix running.
modmuss50 cca985a
Updated
modmuss50 57d9053
Fix build
modmuss50 163eede
Cleanup + fixes.
modmuss50 b7fc7a1
Fix package
modmuss50 e448860
and test package
modmuss50 62d0259
game-test -> gametest
modmuss50 742d6a1
Fix exclusion
modmuss50 62b63ae
Review feedback and fixes.
modmuss50 67dd60c
Remove comment
modmuss50 6f228c7
Review feedback.
modmuss50 6229cbb
Don't set the game instance
modmuss50 5f495e7
Merge branch '1.17' into gametest
modmuss50 780b00c
Fix
modmuss50 61f9002
Work around shadowed fields from super classes not getting remapped..…
modmuss50 f96a1e4
Add mixin to exit with a non-zero exit code in case the test server f…
shartte 0891af2
Enable JUnit XML report generation.
shartte f704a2d
Merge pull request #2 from shartte/gametest
modmuss50 8b42425
Merge pull request #3 from shartte/junit
modmuss50 24d4c4b
Merge branch '1.17' into gametest
modmuss50 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This
XmlReportingTestCompletionListener
generates a JUnit-like XML file, but it's seen as invalid by theEnricoMi/publish-unit-test-result-action@v1
GitHub Action (the easiest action to upload test results). Noticed this when testing with the GameTest framework in a custom mod (that adds a similar API), and wrote this workaround (in Mojang mappings):https://github.com/FoxShadew/JustEnoughDebugTools/blob/master/src/main/java/net/shadew/debug/test/ProperJUnitLikeTestReporter.java