This is a little experiment on using literate programming to develop runtime inspection in JavaScript.
Clone this repository. Open index.xhtml in your editor on the left side of the screen, and in your web browser on the right side. Like this.
Edit your thoughts in markdown in the <source> tags.
Edit the example code in <code> sections. Reload the browser and watch the unit test go green or red.
Edit the inspection library in the <coffee-script> tag.
Note: To see the unit test running, try to scroll down to one and refresh the browser.
That's it!