Creating Some Tests: Checking the Guesses
Get to know how to check the game with guesses.
We'll cover the following
Playing the game
Now, we get to the good part: we play a game. This is done by making repeated guesses until the game ends, and checking response status codes along the way. We allow the guesses to repeat or to be non-alphabetic. A real stress test would also check other types of input guesses, such as empty strings, long strings, unprintable characters, etcetera.
Get hands-on with 1200+ tech skills courses.