Skip to content

basis scaffolding for a minimal js/node project with jasmine test runner

License

Notifications You must be signed in to change notification settings

hjwp/tdd-thursdays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  • assumes you're running node v10.

If you're using nvm:

nvm use .

install jasmine:

npm install

run the tests:

make test
# or
npm test

What you should see:

> jstestbase@1.0.0 test /home/harry/workspace/jstestbase
> jasmine

Randomized with seed 77974
Started
.


1 spec, 0 failures
Finished in 0.004 seconds
Randomized with seed 77974 (jasmine --random=true --seed=77974)

auto-rerun:

make watch-tests

(you may need to install "entr" with apt install entr or brew install entr)

find our files:

  • tests live in spec/Specs.js
  • source lives in lib/index.js

About

basis scaffolding for a minimal js/node project with jasmine test runner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published