Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/videojs/video.js
Browse files Browse the repository at this point in the history
  • Loading branch information
heff committed Sep 2, 2014
2 parents c5bd011 + 11b592a commit 1aabc44
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CONTRIBUTING.md
Expand Up @@ -148,12 +148,8 @@ grunt
grunt test
```

Video.js is also configured to run tests with Karma. Karma is installed as a grunt plugin to run QUnit tests in real browsers, as opposed to simply running the tests in phantomjs, a headless browser.
Video.js is also configured to run tests with Karma. Karma is installed as a grunt plugin to run QUnit tests in real browsers, as opposed to simply running the tests in phantomjs, a headless browser. To run the tests with Karma:

To run the QUnit test suite in Karma, do the following:
1. Copy test/karma.conf.js.example and rename the copy test/karma.conf.js. Please note that if you decide to name the file something other than karma.conf.js, or if you decide to change the location of your conf.js file from the test/ folder, you will need to change references to karma.conf.js in Gruntfile and .gitignore to your new file name and location, so that you don't inadvertently add your conf.js file to any of your video.js pull requests.
2. Open test/karma.conf.js in an editor, and configure the properties in it as desired. At a minimum, you'll want to add the browsers that you want to run your tests in. The karma.conf.js.example file has detailed information on usage in the file itself.
After you've configured the desired properties in your karma.conf.js, run:
```bash
grunt karma:dev
```
Expand Down

0 comments on commit 1aabc44

Please sign in to comment.