Segregating test cases as per Unit, Integration.....
I am having query regarding Test cases.
How can we segregate test cases on the basis of Unit Test Case, Integration Test case, System test Case and Functional Test case.
i.e. how we can say that this test case is of this category....
Please clear my doubt with an example.
Re: Segregating test cases as per Unit, Integration.....
You segregate them the same way you separate coding from integration from system etc.
The purpose of a test is to validate a requirement(ie provide objective evidence that a requirement has been fulfilled). If the requirement is at a unit level then it is a unit test, if at system level it is a system test.
A test case is a set of actions used to validate a small (unitary) piece of a requirement. Test cases can be assembled in scenarios (aka Test Procedures if using the IEEE829).
So, the correct answer to you shall be "it depends" : if you are testing DLLs you might have a different understanding of what your "system" level includes, while - if you are testing a complex ERP software - the definition of System is quite different.