-
Notifications
You must be signed in to change notification settings - Fork 611
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
Proposal: Tests #14565
Comments
Tests would be nice, don’t really have a preferred framework, I didn’t like anything I’ve tried. :/ |
Sure! 👍 |
Ive used http://qunitjs.com/ in the past. Its pretty straight forward. We could (all)? do some collab sometime. At the very least, it will enable future pull requests to be tested. |
Oh I forgot to say: I would prefer something as popular as possible, as it increases chances that contributors will already be familiar with it. |
I'm personally +1 to QUnit. |
Here's some popular options sorted by number of stars on github: Testing Frameworks Test Runners |
I haven’t used them extensively, so whatever the majority goes with, I’m fine with it. |
While trying jasmine framework, which I found to have nicer syntax than qUnit and not to forget its ease of use, wondered into the problem of testing the Awesomplete private functions, are they testable? |
So test framework is selected. Excellent! Here is a better way to run tests with Karma test runner #16734 |
Ok, I think it will be easier to say if the tests are easy or not, when you see them. As I'm more into Jasmine, I've started adding more Jasmine specs based on already merged work and @juanto121 current work in feace11 . @LeaVerou Can you please look at #16734 and decide if you like to use it? |
Closing this, since we're not only have tests now, but running them on TravisCI with Karma. Also #16785 (hopefully to be merged soon) adds nearly 100% test coverage. |
Do you have plans to cover code with tests?
It seems reasonable to introduce tests for such a popular project ;)
If you are interested, I'd like to know your preferences in test/mock framework, test runner, etc. Continuous Integration would be also nice to have, as well as versioning and other staff.
But let's just start small. So... tests, YES or NO?
The text was updated successfully, but these errors were encountered: