Q- Can functional testing be replaced or significantly reduced by integration testing? For example, by using a CI server?
A- Web Application that requires a login - Login page that requires an account name and password.
Unit test checks
  • Field length of User & Password fields
  • Enable and Disable Login button
  • Password Character & Strongest
Integration test checks
  • User views message after entering invalid details
  • User views a home page after entering valid values and pressing the login button.
Here are a few more tests:
  • Correct information stored in cookie as per previously visited on same PC
  • How does having a cookie affect or not affect the login and home pages?
  • Can a user that has been inactivated log in?
  • Reset password functionality available if a user forgets their password
  • Error message appears during entering invalid & no value in the field
Web Page is cached in browser during lost Internet connection and messaging appears on an attempt to login with connection.

0 comments