Skip to content

CodeWithShipraJain/eBroker

Repository files navigation

eBroker

Unit Test Assignment

The solution is developed on .netcore 3.1 Test cases were not developed for startup.cs and main.cs

Inital set up to be done to generate the coverage report

  • Run following file in the root directory: projectSetup.bat
  • Open visual studio go to Extenions(Menu) --> Manage Extension; then search "Run Coverlet Report" and install it. (** You might need to close all visual studio instances to install it.)
  • Once install; open visual studio go to Tools(Menu) --> Options and search for "Run Coverlet Report" and update "Integration Type" to "MSBuild"

** First of all, run all of you tests for the first time: this helps to initialize correctly all the references to the test projects.

Run the code

Generate Report

  • Run following file in the root directory: projectReportGeneration.bat

To view code coverage report in pdf do following:

  • Open codeCoverageReport/Summary - Coverage Report.pdf

About

Unit Test Assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published