Skip to content

itenium-be/jasmine-tut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jasmine Tutorial

Code for bliki series on Jasmine

Content

Folders:

  • spec:
    • helpers: helpers, globals, loading of custom configuration, equality testers and reports
    • support: example jasmine.json files
  • src
    • *.js: the suite with all sorts of Jasmine functionality tests
    • proxyquire: plugin examples
  • babel: do a Babel transpilation before running the tests
  • typescript: Jasmine with TypeScript
  • Jest: Converted the Jasmine examples to Jest

Running the tests

npm install

# Run once
npm t

# Watch
npm run test:w

# Run tests with Babel compilation
npm run babel

# Watch for changes
npm run babel:w

AVA Tutorial

Somehow, the AVA Tutorial code ended up here aswell.