0.1.2 • Published 7 years ago

generator-intern v0.1.2

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

generator-intern

What is it?

generator-intern is a test scaffolder for the intern test framework. See more information about intern here: Intern

With this generator you can choose between test style (bdd, tdd, object) and weither your test should be a unit test or a functional test.

Installation

npm install -g generator-intern

Usage

yo intern

What it does not include

This generator does absolutely nothing with intern's config file. This is up to you to fill in. Config files can vary from person to person and I have no idea what you are into. So for now you will have to fill in the modules that are suppose to be included in your tests. This might be supported in the future but the aim with this generator is simply to provide a quick way to generate tests.

Prompt

name: Name of the test (.js will be added as extension)
testType:  unit | functional
testStyle: bdd | tdd | object
assertion libs(chai): assert | expect | should
testPath: path to store test

Testing

Mocha is used to test this generator. If you don't have mocha installed, install it with

npm install -g mocha

and then run tests with

mocha
0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.0

9 years ago