lundi 9 novembre 2020

Code coverage for nodejs with custom testing suite

I have developed a nodejs application which has APIs. Now i am doing api testing, where i have input payload, expected output in a excel sheet. In my test code, I am simply sending the request using the input payload and comparing it with expected output. Now, how to perform code coverage of my APIs with this testing environment. I have not used mocha or chai. I am just comparing the output with the expected output.

Aucun commentaire:

Enregistrer un commentaire