Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naglalakk/generator-intern
Yeoman generator for intern tests
https://github.com/naglalakk/generator-intern
Last synced: about 2 months ago
JSON representation
Yeoman generator for intern tests
- Host: GitHub
- URL: https://github.com/naglalakk/generator-intern
- Owner: naglalakk
- Archived: true
- Created: 2015-01-28T15:50:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-17T15:28:50.000Z (about 7 years ago)
- Last Synced: 2024-05-02T08:14:32.349Z (about 2 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Lists
- awesome-dojo - Intern Yeoman generator - Yeoman generator - Intern (Testing)
README
generator-intern
================What is it?
-----------
generator-intern is a test scaffolder for the intern test framework.
See more information about intern here:
[Intern](https://github.com/theintern/intern/wiki)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 testTesting
-------
Mocha is used to test this generator. If you don't have mocha installed,
install it with
npm install -g mochaand then run tests with
mocha