1.0.0 • Published 7 years ago
jsdoc-plugin-testspec v1.0.0
JSDoc plugin which connects inline comments & mocha tests specs with docs elements.
Description
JPST (jsdoc-plugin-testSpec) is jsdoc's plugin which connects inline comments & mocha tests specs with docs elements. Lets see example of files and what is generated with this plugin.
Source:
let t;
/**
* module:basic~testFunction
*/
function testFunction(){
// Inline comment.
// Inline another comment.
}
/**
* @test module:basic~testFunction
*/
t = describe('<your description>', () => {
it('first test specification');
it('second test specification');
});
Results:
Homepage
For more informations please visit projects official homepage.
License
Copyright © 2016 Uroš Jarc
MIT License
1.0.0
7 years ago