Skip to content

Conversation

@Yeregorix
Copy link
Member

@Yeregorix Yeregorix commented Jul 21, 2025

  • Run unit tests in a valid ModLauncher environment where classes are transformed.
  • Start a temporary server before all tests. The server is not ticking. Tests and server are on the same thread.
  • Test task is disabled in SpongeCommon. Only platforms have a proper test task.
  • Unit tests defined in SpongeCommon will be run on each platform.
  • Update old unit tests.
  • Code coverage. JaCoCo instrumentation.
  • Support unit tests for plugin development (SpongeVanilla only).
  • Ability to trigger ticks during tests

@Yeregorix Yeregorix force-pushed the feature/unit-tests branch 2 times, most recently from a03c4c7 to 2812fc3 Compare July 23, 2025 16:06
@Yeregorix Yeregorix force-pushed the feature/unit-tests branch from 2812fc3 to 9ba0d3b Compare July 31, 2025 12:57
@Yeregorix Yeregorix marked this pull request as ready for review August 10, 2025 21:25
@Yeregorix Yeregorix merged commit 64d7d46 into api-14 Sep 3, 2025
13 checks passed
@Yeregorix Yeregorix deleted the feature/unit-tests branch September 3, 2025 14:48
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

Successfully merging this pull request may close these issues.

1 participant