Open haydenwade opened 8 years ago
Looks like I can only use Firefox with travis. See this forum
I guess you want Protractor with SauceLabs instead of Karma.
@sarbbottam if i wanted to do e2e testing on my UI (angular) then I think I would use Protractor. As of now I am just interested in having moderate testing. I have used Karma and Protractor both on other projects but never have been the one to set them up or add to a project I built from scratch.
Questions/issues:
Background info: I just started to add tests to my project. My plan is to have e2e tests and unit tests for the api; unit tests for the UI.
Here is what I have done so far: Added Karma and Jasmine Created karma.conf.js Created .travis.yml Created tests directory to hold both api and ui tests. Added one test to ping api
Project Directory structure: server.js - api app/ - middlewares and routes for api public/ - UI using AngularJS tests/ - directory to hold all tests tests/api - where my e2e tests for api will go tests/ui - where my unit tests for the ui will go
Please work off of the AATests branch and make all PR to that branch, thanks!