Test case writing is a major activity and considered as one of the most important parts of software testing. It is used by the testing team, development team as well as the management. If there is no documentation for an application, we can use test case as a baseline document.
So why are test cases important?
A typical definition for test case is a ‘set of conditions under which a tester will determine whether an application or software system or one of its features is working as expected.’
It means that test cases clarify what needs to be done to test a system. It gives us the steps which we execute in a system, the input data values which we enter in the system along with the expected results when we execute a particular test case.
Test cases bring together the whole testing process. If the test cases are ready, they are really helpful to measure weather client expectations were fulfilled or not. When we execute test cases, we can get more defects which may be skipped in ad-hoc testing.
We can get the answers of the questions below from test cases and get a sense of the product and where it stands. The questions are:
[checklist icon="check" iconcolor="" circle="no"]
[/checklist]
If one can get proper answers of the above questions we can comment on the stability of the whole application. We can use this as a checklist to ensure that we have not missed anything. It is also important to measure test coverage.
That’s why test cases are extremely important!
Happy Testing!
References:
http://university.utest.com/test-case-writing-creation/