Names: Julio Rivas
- Would you use a unit test to test the “message” feature of a messaging application? Why or why not? For this question, assume the “message” feature allows a user to write and send a message to another user.
Response: No I would not unit test this because it requires other functions to be working as well. Unit test can only test small parts of code.
- Would you use a unit test to test the “max message length” feature of a messaging application? Why or why not? For this question, assume the “max message length” feature prevents the user from typing more than 80 characters.
Response: Yes I would because it is a small enough function that doesn't require many of other functions to be working together.
Links:
https://jrivas112.github.io/Lab5_Starter/expose.html
https://jrivas112.github.io/Lab5_Starter/explore.html