Skip to content

Paper E2E v1.0.4

Choose a tag to compare

@Drownek Drownek released this 02 Feb 16:12

What's New

Automatic Test Environment Cleanup

  • New cleanE2E task automatically wipes server data before tests for a clean slate
  • Configurable exclusion patterns to preserve essential files (server.jar, cache, libraries)
  • Runs automatically before testE2E to ensure consistent test environments

Configuration Improvements

  • bukkit.yml configuration now handled by the Gradle plugin
  • connection-throttle automatically set to 0, eliminating need to wait few seconds between each test

Enhanced Error Reporting

  • Stack traces now point directly to your test files with accurate line and column numbers
  • Failed tests display clickable file URLs for instant navigation in IDEs
  • Source map support for TypeScript tests shows original .spec.ts locations
  • Test summary at the end of each run

Better Bot Management

  • Unique bot usernames using UUID fragments prevent naming conflicts
  • Improved bot cleanup between tests

Technical Changes

  • Refactored stack trace utilities into dedicated module
  • Improved test result tracking and reporting
  • Better separation of concerns in runner logic
  • Enhanced logging throughout the test lifecycle