/Lab8

Primary LanguageJavaScript

Lab8_Starter

Check your understanding q's (FILL OUT)

  1. In your own words: Where would you fit your automated tests in your Bujo project development pipeline? (just write the letter) 2

  2. 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. No, because sending a message involves the integration of many different functionalities like server interactions, user input, display, and network transference.

  3. 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 Yes, because this is a small-scale feature that depends only on itself.

  4. What do you expect to happen if we run our puppeteer tests with the field “headless” set to true? It would run all the tests, but not display them visually.

  5. What would your beforeAll callback look like if you wanted to start from the settings page before every test case? It would include a directive to click on the settings button