Topcoder - Submission Review App API create tests

Register
Submit a solution
The challenge is finished.

Challenge Overview

Challenge Objectives

  • Add unit & e2e tests to our Submission Review API.

Tech Stack

  • Node.js

  • Express.js

Project Background

We’re in the process of creating a new app to help challenge members to view their submissions and their associated review results in order to improve the overall user experience in our platform.

Code Access

Repo: https://github.com/topcoder-platform/submission-review-api

Branch: develop

Detailed requirements

  • Implement unit & E2E tests in our Submission Review API.

  • Mock other services called by the API during the tests.

  • You need to implement both positive and negative tests.

  • You need to cover all types of different access levels to a challenge (explained below).

Different Access Levels

  • Admin user.

  • User with manager access to a challenge.

  • User with observer access to a challenge.

  • User with reviewer access to a challenge.

  • User with submitter access to a challenge.

  • User with no access to the challenge.

Please check the code to see if there are more cases.

 

Feel free to ask on the challenge forum if you have any question!

What to Submit

Submit a git patch for the latest commit in the develop branch and provide instructions on how to apply your patch. Make sure to note the exact commit.



Final Submission Guidelines

Please read above.

ELIGIBLE EVENTS:

Topcoder Open 2019

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30085210