| || |
Unit Testing Vs Integration Testing
I need clarification on below .
One team has defined 100 unit test cases and 200 integration test cases. There are 4 E2E processs to be tested and 5 languages to be tested per each E2E Process. Also one integration test included 3 unit test cases . Every unit test cases is repeated 4 times during the entire project duration . ( 1 - Unit testing, 2- Integration testing (every test case is used in atleast 2 scenarios) .
So how many total integration tests will be there ???
My Take is 200/3 *4 * 5 is the total number ..
Originally Posted by ravi99
I'm assuming that this is some sort of exam question? If so, it's ambiguous about whether E2E also constitutes an integration test. For the moment, let's assume that it doesn't as it doesn't say how many integration tests are included in an E2E.
Unit tests are not relevant. E2E (on the basis that there is insufficient info) are not relevant. Languages are not relevant, as they are only tested by running multiple iterations of E2E. Number of unit tests in integration is not relevant, as the answer is only after integration tests.
The real question, though, is why does this matter? If it's for test estimation then only counting integration tests is misleading.