I wanted a tool that would allow us to use different frameworks and possibly other languages.
So, I created one.
Stuntman is built on a Node.js backend using CodeMirror for the editors. As the editors are updated, it saves the code to localStorage. There’s a hidden iframe that is then loaded with the current test runner which loads the code from localStorage and runs it using the selected test suite. The results from this test are passed back to the top level app and displayed to the user. This gives the user instant feedback to the state of the tests.
It can also jump over school buses on a motorcycle.
One of the things that we found at our DCC meetups was that we wanted an easy way to save our work when we were finished (or almost finished). So, we connected the app to Github using OAuth. This allows us to login to Github and save our work to a gist, or we can load in a gist that we have previously worked on.
- Test Frameworks: Jasmine, QUnit, Mocha
- Gists: Export, Import
- Live updating test results
- Languages: Ruby
- Test Frameworks: RSpec
- Collaborative editing
Stuntman gives us the ability to try different frameworks and syntaxes and—hopefully soon—different languages. It’s very much a work in progress. (Let’s call it an early beta.) But I wanted to share it soon so other people could have the chance to use it as well. Feel free to send the Stuntman over a few buses yourself.