Show HN: Dungeon Coverage – Unit testing as a dungeon crawler
arvindrajnaidu.github.ioEach level is a JS function turned into a dungeon. if/else = forking paths, loops = corridors, try/catch = parallel chambers.
You forge test inputs as weapons, drag them into parameter slots, and run. Your hero walks the code path. Gems = covered statements. 100% = level complete.
Six levels, from simple branches to async functions with stubs.
Play: https://arvindrajnaidu.github.io/dungeon-coverage/ Source: https://github.com/arvindrajnaidu/dungeon-coverage
Built with PIXI.js, Istanbul for coverage, and [maineffectjs](https://github.com/arvindrajnaidu/maineffect) for isolated function execution.
No comments yet.