Skip to content

Golem 0.5.0

Choose a tag to compare

@achedon12 achedon12 released this 08 Oct 10:11
· 10 commits to main since this release
f27120a

Golem 0.5.0 brings a dashboard: run, fuzz, benchmark and build the tests of your PocketMine-MP plugin from your browser.

vendor/bin/golem ui

Try it without installing anything: the live demo replays real runs on Golem's example plugin.

The Golem dashboard

Tests, live. Pick all the tests, a class or one test, the server version or fork, servers in parallel, coverage. Results arrive as they run; a failure shows the expected and actual values next to the line that failed, and coverage colours the lines of your plugin that ran.

Fuzz and benchmark. Start golem fuzz and golem bench in a click: crashes and the tests that replay them, TPS and tick usage drawn as golems join, the slowest listeners.

Tests without PHP. The scenario editor builds a test from golems, actions and checks ("Steve runs /kits, clicks slot 2, has a diamond sword"), writes it in your tests folder and runs it.

History. Your last runs stay in the browser: run one again in a click, pin the settings you use often, follow your benchmarks over time.

The dashboard only runs on your machine (127.0.0.1, a token per session): nothing is uploaded anywhere.

Also: --log-events writes a run as JSON lines, $this->item('diamond_sword') in tests, and the documentation now keeps every version with a switcher.

Everything is in the changelog.