I've released JDoctest 1.5 , with support for integrating Javascript doctests of your Java code into the JUnit test framework. I use this to implement continuous testing .