Difference between revisions of "What Test Case Is"

From CNM Wiki
Jump to: navigation, search
(Script)
(Script)
Line 7: Line 7:
 
===Script===
 
===Script===
 
:
 
:
Test Cases
 
 
As a manual tester, how do you make sure that your testing is comprehensive enough? You don’t want to skip testing any important paths — and in the heat of a fast-paced Sprint, it’s easy to accidentally leave things out. This is where test cases come in. Sometimes there simply isn’t time to stop and write test cases before testing, but it’s important to incorporate them whenever time allows.
 
  
 
For example, say that you were testing the iOS app login example referenced above. You might write the following test cases:
 
For example, say that you were testing the iOS app login example referenced above. You might write the following test cases:

Revision as of 19:33, 8 November 2020

What Test Case Is (hereinafter, the Lectio) is the lesson part of Manual Testing Essentials lesson that introduces its participants to manual testing concepts. This lesson belongs to the CNMCT Entrance section of the CNM Cyber Placement.


Content

The predecessor lectio is What Manual Test Is.

Script

For example, say that you were testing the iOS app login example referenced above. You might write the following test cases:

   Tapping “Login” in left nav menu should bring up a login screen
   When logged in, tapping “Logout” in left nav menu should log the user out
   If user enters an email address that does not exist (with any password) and selects Login, relevant error message should come up
   If user enters a valid existing account email address with an incorrect password and selects Login, error message should come up
   When user enters valid email address and password and taps Login, they should be logged in and taken to Home screen
   When user is logged in, and closes app or re-starts device then re-opens, they should still be logged in
   Email address field should not be case sensitive
   Password field should be case sensitive
   Login screen elements should match design file
   Login button should be grey until user enters credentials (whether valid or not), at which point it should turn red

Test cases will usually be more detailed than the above, but these provide a simple example of what test cases are. When a deadline is urgent and the timeline is short, you may have to wing it. But when you do have time, having test cases makes testing less stressful and more thorough. It also increases the reliability of the process and results.

User stories can be perfectly used for manual testing. Regularly, any acceptance test consists of or involves these stories.

Key terms

Test case

Closing

The successor lectio is What UX Test Is.

Presentations

Slideshow

Video