Created
June 13, 2020 20:25
-
-
Save Jnforja/1020f038b9fc1e2b3652b6c4b7645bd3 to your computer and use it in GitHub Desktop.
Solution to exercise on blog post https://joaoforja.com/blog/learn-how-to-make-a-test-list/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. When the name to search is not specified, all characters are shown despite their name. | |
2. When searching for the name "Rick", shows all characters that contain "Rick" in its name. | |
3. When searching for the name "ick", shows all characters that contain "ick" in its name. | |
4. When searching for a name that's not part of any character's name, a message is shown to inform the user that there are no characters for their search. | |
5. Searching for a name should be case insensitive. | |
6. When the status is not specified, all characters are shown despite their status. | |
7. When searching for characters with status, "Alive", shows all characters that are alive. | |
8. When searching for characters with status, "Dead", shows all characters that are dead. | |
9. When searching for characters with status "Unknown", shows all characters that is not known if they're alive or dead. | |
10. When searching for a character with the name "Rick" and the status "Alive", all characters with the name Rick that are alive are shown. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment