-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Karma support #1393
Karma support #1393
Conversation
|
Figured out why sauce labs tests fail for pull requests, from: https://docs.travis-ci.com/user/environment-variables/#Defining-encrypted-variables-in-.travis.yml
|
test sauce labs
Sauce labs tests are working, for testing I have used my credentials for that service. Please see: |
Fantastic! |
I think I have tested everything I had planned - all are working. Next decision points:
|
Not sure what |
Also enabled cache for We can also try |
Merged in 3.0 alpha 4. Thanks @kum-deepak! As for the browserify test, that just generates a browserify bundle and runs tests using that instead of regular JS dependencies. Once or twice we did something that broke browserify, but it was only when messing with the AMD support so it xoesn't happen often. |
Hmm, got one odd error on one of two Travis runs. All tests succeeded but Chrome reported:
https://travis-ci.org/dc-js/dc.js/builds/363931398?utm_source=email&utm_medium=notification Something to keep an eye on going forward. |
I am reasonably sure that our specs do not try to do that. Initially when I had set concurrency to 2, it was more often, but still random. The next task I am planning on build infrastructure is to launch parallel tasks at Travis using their Matrix capabilities - https://docs.travis-ci.com/user/environment-variables/#Defining-Multiple-Variables-per-Item. This will also help in testing with D3v4 and D3v5 In addition, please see what we should keep as values for the following:
|
Hmm, did you get a sense of whether this is browser-specific, e.g. only happens on Chrome? Spurious errors are really frustrating, especially for new contributors, so if we can avoid them by only using Firefox by default, maybe that is an option. We could rely on saucelabs for the cross browser / platform stuff. Just an idea. I guess we'll see how bad the problem is over time. I think the current set of browsers is good. I don't think there's any point in testing Opera since it's just Chrome underneath. We should keep the versions reasonably up to date except for IE haha. Some of those versions look pretty old by now. I'll get back to you about the logging level. I'm not sure what level the invalid SVG attribute warnings are. Those are the really annoying logs. |
Initial support for Karma. It works!
After running
npm i
run./node_modules/.bin/karma start
. Current configuration will run all test cases using Chrome and Firefox.Next steps: