Challenge Overview
Welcome to the “CRM - Search and Validation Backend Unit Tests Coverage Challenge”. We are currently building an internal web application for a client. This application will be divided into frontend and backend.
CONTEXT
PROJECT CONTEXT
The client has requested to build a full stack application that involves both the backend REST API (Nest.JS) and a frontend application (Angular 9). This application will allow users to do search and validation before creating a case.
CHALLENGE CONTEXT
The main goal of this challenge is to improve the unit test coverage of the backend application.CHALLENGE DETAILS
Technology and Framework
- NestJs
- Typescript
- NodeJs 12.x
Requirements
- The main goal of the challenge is to bring the unit test coverage to 100%���
- All folders under src/ folder are in scope, with the exception of src/lib
- For each 1% less in UT coverage will be 1 point deduction in major requirements
- Fixing any failed tests are in scope
- Unit test must not depend on any external system (backend or database)
- All lint errors must be fixed
- All folders under src/ folder are in scope
- Prepare the application to be deployed in Heroku
- package.json scripts
- documentation
- Existing source code will be provided in the forum
Final Submission Guidelines
- Updated source code
- Updated documentation