top of page

CST438 - Week 5

  • Writer: YZ
    YZ
  • Oct 5, 2021
  • 1 min read

This week, we learned about end-to-end testing. First, we connected our Repositories to Heroku and deployed them. Next, we wrote our own end-to-end user test based on the given resources and information from the professor's live session. For the gradebook service, the test was for creating a new assignment. We used Selenium which uses the web driver to perform the tests on a browswer. We also completed a quiz about testing based on the assigned chapters from Software Engineering at Google.


Unit Testing VS End-to-End Testing

In this class, we used unit testing with mock data to test whether specific methods are working. Unit tests are for testing one particular functionality of the code. In contrast, we used end-to-end testing to test a complete user action. These tests actually make the changes to the database and have to be deleted as part of the end of the test so the test is repeatable. This ensures a user's entire interaction will work properly and that all components and layers are working together.

Comments


Post: Blog2_Post
  • Facebook
  • Twitter

©2020 by yz-learningjournal-csumb. Proudly created with Wix.com

bottom of page