Register
Submit a solution
The challenge is finished.

Challenge Overview

Challenge Objectives
  • Add unit tests for components to our existing ReactJS based prototype code.

Challenge Context
  • Please check the challenge in which the prototype was built to better understand how it works and what was in scope. One thing to pay attention to was we enforced using the Micro Frontend Framework.

Technology Stack
  • ReactJS v16.8
  • JTest
  • Enzyme (optional)
  • Redux
  • Typescript
  • HTML5
  • CSS

Challenge Requirements
  • You must unit test all the components in the code base, with a coverage of over 90%. This is considered a major requirement in the scorecard since unit testing is all this challenge is about.
  • End-to-end testing is NOT in scope.
  • Your submission must add a script (or command) to run the tests and generate a coverage report.
  • No existing code should be modified and no existing features should be broken.
  • There should be no linting errors or warnings with the unit tests code
  • Production build of the prototype must not be broken

References
Here are a few quick references if unit testing is new to you:

Final Submission Guidelines

Please submit a single zip file with the following:
  • Full source code
  • Updated / new build scripts to run the tests and generate coverage report
  • Updated readme to reflect the changes done in this challenge (example: new details on how to run your tests and where to check the coverage report, how to run linting on the test code, etc.)

ELIGIBLE EVENTS:

2020 Topcoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30123766