Summary

This presentation provides an overview of software testing, focusing on test cases, test plans, types of test cases, and essential information for creating and executing effective test cases.

Full Transcript

Software Testing Test Cases Instructor: Kaveh Eshraghian Overview Test Cases Test Plan vs. Test Case Test Case Type Test Case Information Test Case Content Test Case Sample Test Cases Definition:  A set of actions performed on a system to determine if it satisfies s...

Software Testing Test Cases Instructor: Kaveh Eshraghian Overview Test Cases Test Plan vs. Test Case Test Case Type Test Case Information Test Case Content Test Case Sample Test Cases Definition:  A set of actions performed on a system to determine if it satisfies software requirements and functions correctly. Purpose:  Determining if different features within a system are performing as expected and to confirm that the system satisfies all related standards, guidelines and customer requirements. Test Plan vs. Test Case Test Plan:  Describes a high-level testing for the entire project.  A general-purpose document that is designed to be read by many people.  Describes the schedule, the personnel involved, the scope of testing, and potential risks. Test Case:  Low level details of how each of the tests is to be conducted. Test Case Types Functionality test cases, Unit test cases, Performance test cases, Database test cases, User interface test cases, Integration test cases, Security test cases, and usability test cases. Test Case Information Everything necessary to carry out a particular test including: Test Environment (Optional). Test Data. Expected outcome Test Status. Test Case Content A unique test case identifier, A brief description of a test and what it is for, Any assumptions and preconditions that are necessary before a test can be executed, Test data which needs to be provided in order to execute the test, A list of steps which need to be executed to conduct the test, The expected result of the test, The actual result of the test that was obtained and any post conditions which occurred as a result of executing the test, Whether the test passed or failed. Test Case Sample (Functionality) ID Description Precondition Steps Test Data Expected Actual Pass/Fail Results Results 1. go to login page 2. Enter user Database user=John TF001 Login test name Successful login implementation 3. Enter password passwd=secret 4. Click "Login" Test Suite Sample (Unit) ID Description Precondition Steps Test Data Expected Actual Pass/Fail Results Results 1. pass data to TU00 string strip Code function and “” “” 1 Deployment capture result 1. pass data to TU00 string strip Code function and "x" "x" 2 Deployment capture result 1. pass data to TU00 Code string strip function and "_x" "x" 3 Deployment capture result

Use Quizgecko on...
Browser
Browser