-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for running tests with Karma #714
Conversation
added instructions for running tests in Karma.
added in configurations for Karma.
Nice. This will be great to have. Has it been working pretty consistently for you? |
Apurva and I tested this quite a bit during Brightcove Hack Week (it was our project for that week). |
Working for me, and it's awesome to see. The addition to .gitignore doesn't seem to be working for me. It's still letting me commit changes to the template file. Is the template supposed to work like the sandbox/.example files, and could we reuse that naming for this? e.g. test.conf.js.example |
…ld be ignored by git) renamed the conf.js to karma.conf.js removed test-template.conf.js from .gitignore updated the CONTRIBUTING.md to reference karma.conf.js testing: ran the QUnit tests with these changes; no errors or failure to run tests
updated the CONTRIBUTING.md to refer to karma.conf.example, copying this file to karma.conf.js
updated CONTRIBUTING.md to reflect it
I think this is done (finally!). I decided to stick with karma.conf.js.example (why didn't I think of putting this in sandbox to begin with?), because it more clearly identifies what this file is used for. |
Haha, well, I'm thinking it should probably go under test/ or at the root. Sorry. :) |
I think sandbox is a good place to put the template because:
|
changed references to the file location in .gitignore and CONTRIBUTING.md and Gruntfile testing: verified that the .example file is picked up by git status and add (per this commit) verified that any conf.js files are ignored if they are in the test/ folder verified that with the new location of the karma.conf.js file in Gruntfile, that the tests run as expected
No description provided.