- I would fit my automated tests within a Github action that runs whenever code is pushed. Programming is about automating, so automating the testing process is the better way to go. With Github action, I don't need to manually test every time I am about to push the codes. Convenience++
- No. E2E testing simulates the user, who would not know what a function returns under the hood. You can use unit test for that purpose.
- No. Unit test only tests one function/feature in one user's end. Otherwise the test won't be called "unit". Instead, testing with users' interaction on the application level should be done with E2E testing.
- Yes. The "limit max length" is a unit feature that can be implemented and checked without interfering with other features. It's small enough to be unit tested.
alanine42 / lab8_starter Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cse110-fa22/lab8_starter