Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please help for snakestats only want snakestats in a test set : 1. empty code 2. test to fail the code 3. improve code 4.
please help for snakestats only want snakestats
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 in a test set :
1. empty code
2. test to fail the code
3. improve code
4. test to fail the improve code
5. improve the code again
6. test to fail the improved code
total need : 3 test set
please show me an example in snakestats and the codes (because im unsure how to code out snakestats test) thank you
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started