Software Testing - Test Cases
What are test cases in software testing, how they are designed and why they are so important to the entire testing scenario, read through to know more..
A test case is a set of conditions or variables and inputs that are developed for a particular goal or objective to be achieved on a certain application to judge its capabilities or features.
It might take more than one test case to determine the true functionality of the application being tested. Every requirement or objective to be achieved needs at least one test case. Some software development methodologies like Rational Unified Process (RUP) recommend creating at least two test cases for each requirement or objective; one for performing testing through positive perspective and the other through negative perspective.
Test Case Structure
A formal written test case comprises of three parts -
- Information
Information consists of general information about the test case. Information incorporates Identifier, test case creator, test case version, name of the test case, purpose or brief description and test case dependencies. - Activity
Activity consists of the actual test case activities. Activity contains information about the test case environment, activities to be done at test case initialization, activities to be done after test case is performed, step by step actions to be done while testing and the input data that is to be supplied for testing.
- Results
Results are outcomes of a performed test case. Results data consist of information about expected results and the actual results.
Test cases should be designed and written by someone who understands the function or technology being tested. A test case should include the following information -
- Purpose of the test
- Software requirements and Hardware requirements (if any)
- Specific setup or configuration requirements
- Description on how to perform the test(s)
- Expected results or success criteria for the test

Use the feedback form below to submit your comments.

Use the form below to email this article to your friends.

- Software Testing - Bug and Statuses Used During A Bug Life Cycle
- Software Testing - Check Lists For Software Tester
- Software Testing - Brief Introduction To Exploratory Testing
- Software Testing - How To Go About For Beginners
- Software Testing - An Introduction!
- Software Testing - How To Log A Bug (Defect)
- Software Testing - Contents of a Bug
- Software Testing - Bug Life Cycles
- How IT Company Makes Software Testing a Walk Through ?
- Is software testing company really important for your software?
- A Closer View at the Software Testing Company and its importance in SDLC…
- Software Testing - An Introduction To Usability Testing
- Software Testing - White Box Testing Strategy
- Software Testing - Black Box Testing Strategy
- Software Testing - Brief Introduction To Security Testing
- Software Verification & Validation Model - An Introduction
- Making a success of software test automation
- Why Software Development Teams Often Fail To Get It Right
- Scalability Testing: A Checklist To Avoid Disaster
- An Overview of Acceptance Testing
- Software Testing Tutorial
- Software Testing Interview Questions
- Types of Software Testing
- Software Testing Methodologies
- Quality Assurance Certification
- Software Testing - Stress Testing
- Software Testing - Acceptance Testing
- Software Testing - Compatibility Testing



