What Test Case Is

From CNM Wiki
Revision as of 19:51, 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

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.

Those user stories that have been used for the development can be perfectly used for progression testing. Regularly, any acceptance test involves these stories.

Key terms

Test case

Closing

The successor lectio is What UX Test Is.

Presentations

Slideshow

Video