Skip to content

A headless, self-contained tool for JavaScript Testing.

License

Notifications You must be signed in to change notification settings

builddoctor/EnvJasmine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= EnvJasmine: Jasmine test runner for EnvJS.

EnvJasmine allows you to run headless JavaScript tests.

== Creating New Specs

Add your Jasmine Spec files to the specs directory to be run.

IMPORTANT: Make sure to load the file you are planning to test as the first line of the spec file using the load("file.js"); function.

== Running JavaScript tests

To run the JavaScript test suite, execute the following:

    bin/run_all_tests.sh

To run an individual spec file, execute the following:

    bin/run_test.sh specs/[your spec file].js

== Adding Dependencies

Sometimes you will have libraries that you need to load for any of your JavaScript files to work. To make sure these are loaded before your tests are run, include them in the include/dependencies.js file using the load("file.js"); function.

----

Based on info from:
http://www.build-doctor.com/2010/12/08/javascript-bdd-jasmine/
http://www.mozilla.org/rhino/
http://www.envjs.com/
http://pivotal.github.com/jasmine/
https://github.com/velesin/jasmine-jquery

----

Originally created by Jeff Avallone and Trevor Lalish-Menagh
See LICENSE for lincensing information.

----

See CHANGELOG for changelog information.

----

Current version is found in the VERSION file.

About

A headless, self-contained tool for JavaScript Testing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%