Challenge Overview
NOTE: Contest has a bonus. If your submision wins either first or second place AND gets a score more than 90, then you will also get an additional payment of $200 at the end of the contest.
Challenge Objectives
-
We have an Angular 5 app for which we want unit and end to end tests written
Project Background
-
We have an app that we built using Angular 5. The app allows users of our clients to review texts identified by our client’s OCR tool.
-
The users will be presented with Bank Statements and the corresponding OCR identified texts. The users have to verify if the texts match and if not, to correct them.
-
The users are also permitted to manually identify text themselves as necessary.
Technology Stack
-
The app is built using Angular 5 through the Angular CLI.
-
There is no server for the app. Instead, the app directly communicates with an API that itself is hosted on Apiary.
-
Only Google Chrome browser will be used when working with the app. You are not expected to support other browsers.
Code access
-
We will share the code base in the contest forums. The winner might be asked to submit a Pull Request to our private repository.
Individual requirements
Write Unit Tests and End to End Tests (Major Requirement)
-
You need to write unit tests and end to end tests for our app.
-
We will share a video walkthrough of the app in the contest forum for you to get an idea on how the app works. The app has only one page (it’s not a single page application, just that there is only one page with all the features)
-
There are no test scenarios. You need to come up with your own test cases.
-
You are expected to provide more than 85% of test coverage.
-
Note that currently, the app does not have any tests.
Deployment guide and validation document
-
No changes expected to the README.md file since the instructions already talk about how to run unit tests and end to end tests.
-
However, you can make changes to the README if there are any additional points you would like to document.
Important Notes
-
Kindly do not upgrade the Angular version. You are expected to work with Angular 5 itself.
-
Follow the guide and best practices
-
If you wish to use any additional modules for testing, besides the ones provided by Angular CLI, please first clarify in the contest forum.
-
We expect minor changes to the app itself. The majority of the changes made should be writing tests. Do not update existing code to make a test case succeed without first clarifying in the contest forum.
-
Follow existing conventions in the app.
Final Submission Guidelines
-
Submit the entire code base to Topcoder.
-
Make sure there are no lint errors.