DOM-less simple JavaScript testing framework
Go to file
2011-05-16 18:28:46 -07:00
example jshint passes - run 'node jshint/run.js'. running jshint with a couple jshint options and workarounds to allow certain jasmine-specific styles. many actual style problems are fixed. the jshint run is integrated into rake jasmine:lint. 2011-02-26 15:07:59 -08:00
images dwf/rva: added pending icons, more red fail icon, better TODOs, and props to Jessica for the icons. 2008-12-11 16:52:19 -08:00
jsdoc-template Drop in jsdoc template (from jsdoc-toolkit 2.1.0). 2010-10-05 13:11:04 -07:00
jshint Merging in sconover/jshint 2011-03-07 22:30:43 -08:00
lib TrivialConsoleReporter refactor & fixes. No longer limitied to 50 columns of dots. 2011-05-16 08:08:12 -07:00
pages@d08ce2de24 How to for release 2011-02-27 14:22:53 -08:00
spec TrivialConsoleReporter now reports the correct number of specs that were executed. TCR is still very heavily mocked instead of using testing an actual Jasmine environment. But now at least the numbers are correct. 2011-05-16 18:28:46 -07:00
src TrivialConsoleReporter now reports the correct number of specs that were executed. TCR is still very heavily mocked instead of using testing an actual Jasmine environment. But now at least the numbers are correct. 2011-05-16 18:28:46 -07:00
.gitignore wip 2011-02-25 08:10:34 -08:00
.gitmodules adding latest pages 2011-02-27 14:00:45 -08:00
.rvmrc Merging in sconover/jshint 2011-03-07 22:30:43 -08:00
cruise_config.rb making jasmine know about ci 2009-12-28 16:45:01 -08:00
Gemfile updating for new pages 2011-02-27 10:36:13 -08:00
Gemfile.lock updating for new pages 2011-02-27 10:36:13 -08:00
HowToRelease.markdown Updating docs. Version goes to 1.1.0 2011-03-08 18:39:13 -08:00
MIT.LICENSE README changes 2011-03-09 08:16:47 -08:00
Rakefile Update Rakefile a bit. Added more rake tasks to run specs. 2011-03-08 18:38:46 -08:00
README.markdown More README edits for the Contributor guide 2011-03-09 13:31:03 -08:00

Jasmine

A JavaScript Testing Framework

Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.

Documentation & guides live here: http://pivotal.github.com/jasmine/

Support

How to Contribute

We welcome your contributions - Thanks for helping make Jasmine a better project for everyone. Please review the backlog and discussion lists (the main group - http://groups.google.com/group/jasmine-js and the developer's list - http://groups.google.com/group/jasmine-js-dev) before starting work - what you're looking for may already have been done. If it hasn't, the community can help make your contribution better.

Development Environment

Jasmine Core relies on Ruby for executing the test suite and building the project for release. The spec suite runs in any major, modern browser (Firefox, Safari, Chrome, and yes various IE's) and in Node.js. While you probably have browsers installed, you want to make sure that Ruby and Node are present.

How to Develop for Jasmine Core

  • Write specs
  • Make them pass in a browser (or three):
    • open spec/runner.html in your browsers
    • rake spec:browser will run in the default browser on MacOS
  • Make them pass in Node: rake spec:node
  • Fix any warnings or errors from JSHint: rake jasmine:lint

Running rake spec will run the browser tests, then run specs in Node, then run JSHint. But this will only run in the default browser and only on MacOS (for now).

Making a Successful Pull Request

  • Include specs for your work - it helps us understand your intent and makes sure that future development doesn't break your work
  • Ensure the full test suite is green in all the big browsers, Node, and JSHint - your contribution shouldn't break Jasmine for other users

Do these things and we'll take a look.

Maintainers

Copyright (c) 2008-2011 Pivotal Labs. This software is licensed under the MIT License.