Travis CI build is failing (is my travis.yml setup correctly?)
Not sure how to handle the calls to mongoDB -> assume I will have to mock this out in my tests or setup Travis to run build on my development server; Any thoughts on this?
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.
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
I am pretty confident in my ability to write unit tests for angular modules, so that shouldn't be a problem.
Please work off of the AATests branch and make all PR to that branch, thanks!
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.
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
I am pretty confident in my ability to write unit tests for angular modules, so that shouldn't be a problem.
Please work off of the AATests branch and make all PR to that branch, thanks!