Skip to content

An empty project with Tape to demonstrate proper unit test writing. Part of a recent Intro to JavaScript class I taught.

Notifications You must be signed in to change notification settings

joshdmiller/js-test-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Test Framework

An empty project with Tape to demonstrate proper unit test writing. Part of a recent Intro to JavaScript class I taught.

Running

Follow the usual procedure for setting up NPM:

$ npm install

And then run the unit tests via NPM scripts:

$ npm test
# or npm run test

Files

Any file ending in spec.js anywhere within the source folder will be included in the running tests. For an example, check out src/spec.js, which tests src/index.js.

About

An empty project with Tape to demonstrate proper unit test writing. Part of a recent Intro to JavaScript class I taught.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published