Skip to content

MCStage v0.2.0

Choose a tag to compare

@SalyyS1 SalyyS1 released this 14 Nov 06:51
· 5 commits to main since this release

MCStage v0.2.0

Highlights

  • Instance Filesystem Assertions (file-exists & file-contains): Scenarios can now assert that plugin configs, databases, or exported files are created inside the server instance directory and match substrings or re: regular expressions, polling live while continuing to drain server logs and enforce forbid rules. Path traversal (..) and absolute paths are rejected at validation time.
  • Native JUnit XML Reporter (--format junit): Emits well-formed <testsuites> / <testcase> XML reports (stripping illegal XML 1.0 control characters) for GitHub Actions test summary checks, GitLab CI, and Jenkins.
  • Offline Scenario Preflight Validator (mcstage validate): Validates YAML schema, suggests Levenshtein typo fixes (timout -> timeout), expands (platform x version) cases, checks Java runtime availability, and verifies --check-plugins JAR globs on disk (--json supported) before downloading or booting servers.
  • Automatic Loopback Port Probing & Composite GitHub Action (action.yml): Automatically advances past busy loopback ports on 127.0.0.1 (and supports --port 0 ephemeral ports), plus ships SalyyS1/mcstage@v0.2.0 with built-in ~/.mcstage/jars caching.

Verification

  • Full JUnit 5 + real child-JVM integration test suite passing on Java 21 (./gradlew build --no-daemon).