90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...
Filter channels...
  • Fix crash caused by loot load errors
  • Updated to 1.21
  • Renamed tests folder to test

PackTest v1.7

by Misode on Apr 23, 2024
Download
  • Updated to 1.20.5
  • Added /assert items
  • /assert predicate now also allows inline predicates
  • Test structures are now encased with barrier blocks
  • Added the @skyaccess directives to remove the barriers at the top
  • Update to 1.20.5-pre1
  • Added /assert items
  • Update to 24w12a
  • /assert predicate now also allows inline predicates
  • Updated to 24w09a
  • Test structures are encased with barrier blocks
  • Added @skyaccess directives to remove the barriers at the top

PackTest v1.6

by Misode on Jan 25, 2024
Download
  • Added line numbers to test failure messages
  • Errors when loading resources now fails the auto test server
  • Added an option to emit GitHub annotations with the auto test server using -Dpacktest.auto.annotations
  • Added assert entity <selector> inside command, which only matches entities inside the test structure bounds (inflated by 1 block)
  • Dummies are now automatically removed when a test succeeds, like other entities
  • Fixed issue where forceloaded chunks would get removed after running tests
  • Fixes an issue where modded clients without the mod could not connect to servers with the mod
  • Fixes some placeholder values in the mod metadata

PackTest v1.3

by Misode on Dec 30, 2023
Download
  • Fixes an issue causing the test server to fail

PackTest 1.2

by Misode on Dec 28, 2023
Download
  • Added /await command, which works similar to /assert but keeps testing the condition every tick
  • Removed /succeed when, instead use /await
  • Added /await delay command to sleep for a specified time
  • Added /assert chat command to test for tellraw messages matching a regex pattern
  • Fixed issue with dummies loading data from disk from previous sessions

PackTest 1.1

by Misode on Dec 25, 2023
Download
  • Added dummies, which are simulated, fake players
  • Added /dummy command
  • Added @dummy directive to spawn a dummy and set @s to this dummy
  • Added @beforebatch and @afterbatch directives to run commands

PackTest 1.0

by Misode on Dec 22, 2023
Download
  • Added mod icon
  • Added ascii coloring for the auto test server, can be disabled with -Dpacktest.auto.coloring=false
  • Added /assert data
  • Fixed issue where the last failing commands would mark the test as failed
  • Added /succeed when which tries a condition every tick until it succeeds or times out
  • Improved error messages for /assert block and /assert entity
  • Added /assert not command
  • Improved output log from auto test server
  • The exit code of the auto test server now matches the number of failed tests

Project members

Misode

Owner

Details

Licensed MIT
Published 9 months ago
Updated 3 months ago