Redwood - Improve coverage on Bluesource audience API Pt 4

Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Challenge objectives

  • Improve the unit testing coverage of the files mentioned in the detailed requirements section.

Tech stack

  • Node.js

Code access

Repo: https://github.com/tc-bluesource/bluesource-audience-api

Branch: develop

 

You will find a link to access the repo on the challenge forum (available after you register).

Detailed requirements

As part of this challenge, you need to create new unit tests in order to improve the coverage on all files within the following directories (base directory: /src/business_services):

  • /prospects (including all files in sub-directories)

  • /state-of-completion (including all files in sub-directories)

  • /memberplaceholder (including all files in sub-directories)

  • /quote (including all files in sub-directories)

  • /person-manager.js

  • /subscriber-dependent.js

Important Notes

  • You need to achieve 90%+ coverage on each file mentioned above.

  • You need to mock any calls to 3rd party APIs.

What to submit

Submit a git patch for the latest commit in the develop branch. Make sure to mention the exact commit you used so we can apply your patch file without issues.

Final Submission Guidelines

Please read above

ELIGIBLE EVENTS:

2020 Topcoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30103668