Register
Submit a solution
The challenge is finished.

Challenge Overview

This is another challenge in the series for Cloud Hub, where we are cleaning up our tests and increasing our test coverage. These APIs are a series of endpoints built using swagger, nodeJS and mongodb. Right now the tests depend on seed data and error out if any data is missing or corrupt. We want the tests to run independent of any seed data. The tests should create and remove any data needed for validation.

Also we want to increase our test coverage by adding tests for the endpoints that don’t have coverage. This includes activities, plaid, add user.

We are open to the idea that these tests run against a different database, so we don’t corrupt the collections if a test fails.

Requirements

  1. Add test coverage for endpoints that don't have coverage.
  2. Fix any tests that are currently broken, looks like just 1 fails.
  3. Modify tests to create their own data for validation. 'npm test' on an empty database should pass all tests.
  4. All changes pass 'npm run lint'

 



Final Submission Guidelines

  1. Any additions or modifications to the code project pass on "npm run lint" and "npm test".
  2. Deploy your solution to Heroku and make sure to include your working Heroku instance URL as part of your documentation.
  3. Provide your code and documentation in a single zip file. Make sure you include steps to deploy to Heroku.
  4. The bulk of your documentation should be in the Readme.md and you should assume that this will be open source so make sure you cover all the steps to set up,  If you have specific information that should not be included in a public readme (like your heroku link or links to your video) put them in a file called submission.txt and they will be omitted from the project if it is open sourced.
  5. Provide a quick video of your solution in action (feel free to annotate your video if you are not comfortable with spoken English or don’t like the sound of your own voice). Video may be private on youtube or added to the submission files.
  6. Please provide a list of files that were modified in submission.txt.

ELIGIBLE EVENTS:

2016 TopCoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30053599