busterjs/buster — Issue #47: buster-jstestdriver: HtmlDoc not supported
Author: dymonaz
Created: 2012-01-02 22:11:17+00:00
State: open

This is a feature request, I guess... I also think that there may just be a better way, without using "magic comments" to set up HTML and tear it down after the test finishes. Whether this is accepted as an issue for buster-jstestdriver that should be ported as documented in http://code.google.com/p/js-test-driver/wiki/HtmlDoc or becomes a whole new thing - I'd be glad to help fixing this issue as my New Year's resolution, as long as there's someone whose resolution is to help me with npm learning curve...

```javascript
TestCase("Doc block", {

"test should find element from DOC": function()
{
/*:DOC+=

test

*/

assertNotNull(document.getElementById('test'));
}

});
```