jsdoc-plugin-testspec

1.0.0 • Public • Published

Project logo


npm release Travis Dependency Status Codestyle badge Join the chat

JSDoc plugin which connects inline comments & mocha tests specs with docs elements.

Patreon User Twitter User


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
 */
= describe('<your description>', () => {
    it('first test specification');
    it('second test specification');
});

Results:

Plugin results


Homepage

For more informations please visit projects official homepage.

https://urosjarc.github.io/jsdoc-plugin-testSpec


License

Copyright © 2016 Uroš Jarc

MIT License

Package Sidebar

Install

npm i jsdoc-plugin-testspec

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • urosjarc