What Test Case Is

From CNM Wiki
Revision as of 18:41, 8 November 2020 by Gary (talk | contribs) (Script)
Jump to: navigation, search

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

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:

   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.

To learn more about test cases, see our article on What Are QA Test Cases.

Key terms

Test case

Closing

The successor lectio is What UX Test Is.

Presentations

Slideshow

Video