CST 438 – Week 5 Learning Journal

Unit Testing vs. End-to-End Testing

In the course, we have discussed both Unit Testing using JUnit and end-to-end testing using Selenium. Put simply, unit testing focuses on individual parts of a program, whereas end-to-end tests each use case of every interacting element. For example, for the registration service, we wrote unit tests for individual methods in the back end. With Selenium, we wrote a test case which checked the web front end and it’s interaction with the back end using some of those same methods.

Leave a Comment