1.

What Are Dirty Test Cases?

Answer»

Dirty test cases are those that check the functionalities for the negative scenarios. In dirty test cases we PROVIDE negative / invalid inputs and verify if the APPLICATION is behaving correctly. Here the application is tested for MAXIMUM amount of invalid inputs.

Example: For a banking application which ALLOWS fund transfer of maximum $10000 US per day. A dirty test case would be to try to transfer more than that values, i.e. say $10001 US. Here the application should sanely give an error that maximum allowed amount for transfer is $10000 US. It should not perform any transaction.

Dirty test cases are those that check the functionalities for the negative scenarios. In dirty test cases we provide negative / invalid inputs and verify if the application is behaving correctly. Here the application is tested for maximum amount of invalid inputs.

Example: For a banking application which allows fund transfer of maximum $10000 US per day. A dirty test case would be to try to transfer more than that values, i.e. say $10001 US. Here the application should sanely give an error that maximum allowed amount for transfer is $10000 US. It should not perform any transaction.



Discussion

No Comment Found