Question: can someone help me with snakestats - unit testing? i need to show in 1 test set : - empty code - test to fail
Instructions Select ONE of the unit test example programs you have seen in the course: snakestats, terriblefall or norestforthewiccad. We recommend that you select the one you feel most confident working on. - Write a total of 9 tests, organised into three sets. * Each test set should target one fuectional element of the program (e.g. an API path, a statistical function or a physies simulation function). - Write the code that allows the program to pass your tests. - Explain your approach in each test set. What was your strategy here? - Capture screenshots or cocsole logs of the code before and after it passed the tests, showing the outpat of the unit testing library, Shorten the output to the most important part, where it lists the number of tests passed and failed. - Write everything up in a report which you should save out to PDF forraat
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
