Releases: misode/packtest
Releases · misode/packtest
Release v1.9
- Updated to 1.21.2
Full Changelog: v1.8...v1.9
Release v1.8
- Renamed
testsfolder totest - Add
-Dpacktest.generate.commandsoption to generate a commands.json report - Fix error reporting when annotations are enabled and the error message contains
{} - Prevent dummies from getting the "Bring Home the Beacon"
- Only run tests inside the world border when auto running by @aksiome in #7
Full Changelog: v1.7...v1.8
Release v1.7
- Updated to 1.20.5
- Added
/assert items /assert predicatenow also allows inline predicates- Test structures are now encased with barrier blocks
- Added the
@skyaccessdirective to remove the barriers at the top
Full Changelog: v1.6...v1.7
Release v1.6
- 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
Full Changelog: v1.5...v1.6
Forceload fix v1.5
- Added
assert entity <selector> insidecommand, 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 (#2)
Full Changelog: v1.4...v1.5
Client compatibility fix v1.4
- 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
Full Changelog: v1.3...v1.4
Test server fix v1.3
- Fixes an issue causing the test server to fail
Full Changelog: v1.2...v1.3
Awaiting the update v1.2
- Added
/awaitcommand, which works similar to/assertbut keeps testing the condition every tick - Removed
/succeed when, instead use/await - Added
/await delaycommand to sleep for a specified time - Added
/assert chatcommand to test for tellraw messages matching a regex pattern - Fixed issue with dummies loading data from disk from previous sessions
Full Changelog: v1.1...v1.2
Update for dummies v1.1
- Added dummies, which are simulated, fake players (#1)
- Added
/dummycommand - Added
@dummydirective to spawn a dummy and set@sto this dummy - Added
@beforebatchand@afterbatchdirectives to run commands
Full Changelog: v1.0...v1.1
The only release v1.0
- Tests in
data/<namespace>/tests/*.mcfunctionare loaded as gametests and can be run with/test - Tests can be run in a CI environment with
-Dpacktest.auto - Added
/succeedand/fail <message>commands - Added
/assertcommand with automatic failure messages, check the docs! - Tests can be configured using directives like
@templateor@optionalto specify the structure file to load /succeed when ...tries a condition every tick until it matches