Skip to content

Releases: BuiltBrokenModding/MinecraftJUnit

Release 1.3.2

12 Jan 22:11
Compare
Choose a tag to compare

1.3.2 - Jan 12th, 2020

  • Fixed: Player not clearing between tests

Release 1.3.1

07 Jan 16:16
Compare
Choose a tag to compare

1.3.1 - Jan 6th, 2020

  • Added: pollLastMessage() to DummyCommandSender to get text version of chat
  • Added: message queue to TestPlayer
  • Added: stat queue to TestPlayer
  • Removed: Exception throwing mechanic for chat messages in TestPlayer
  • Removed: Exception throwing mechanic for UI open in TestPlayer (will replace later)

1.3.0 - Jan 3rd, 2020

Breaking change for previous versions

  • Removed: Any calls to junit lib not inside a unit test
  • Removed: test prefabs due to lack of usage and dep on junit
  • Removed: Temp file creation in dedicated server due to crashes while creating the server (inconsistant)
  • Added: Error handler to dedicated server to allow redirecting errors to unit test fail calls
  • Changed: TestManager to require error handler 'Assertions::fail' for junit 5

1.2.0 - Jan 3rd, 2020

  • Added: Reflection helper for removing final
  • Added: Reflection helper for setting private fields
  • Added: Reflection helper for setting static final fields
  • Added: DummyCommandSender for testing commands
  • Changed: Dedicated fake server to use temp files for property files

Release 1.1.1

02 Jan 22:25
Compare
Choose a tag to compare

1.1.1 - Jan 2nd, 2020

  • Fixed: World not cleaning up entities and other data between tests
  • Changed: cleanupBetweenTests() to nuke the world when called instead of clearing a single chunk

Release 1.1.0

31 Dec 17:31
Compare
Choose a tag to compare

1.1.0 - Dec 31, 2019

  • Added: Test Manager to control world, server, and player init
  • Added: Helpers to clear center chunk
  • Added: Helpers to lock test to center chunk

Release 1.0.0

31 Dec 05:16
af6316b
Compare
Choose a tag to compare
MinecraftJunit -> MinecraftJUnit