diff -r 0d792bceb25d -r 34195230dc2a devtools/devctl.py --- a/devtools/devctl.py Thu Jun 17 15:15:52 2010 +0200 +++ b/devtools/devctl.py Thu Jun 17 15:30:28 2010 +0200 @@ -741,10 +741,21 @@ p = Popen((viewer, out)) p.wait() + +class GenerateQUnitHTML(Command): + """Generate a QUnit html file to see test in your browser""" + name = "qunit-html" + arguments = ' [...]' + + def run(self, args): + from cubicweb.devtools.qunit import make_qunit_html + print make_qunit_html(args[0], args[1:]) + register_commands((UpdateCubicWebCatalogCommand, UpdateTemplateCatalogCommand, #LiveServerCommand, NewCubeCommand, ExamineLogCommand, GenerateSchema, + GenerateQUnitHTML, ))