Friday, July 17, 2009

Do not throw test cases

As designing test cases is quite important activity of testing phase , does not matter what approach we are using that is traditional waterfall or agile.
Do not throw test cases until the program life has ended, when we create test cases to test a specific functionality of a module, effort is there to create test cases to cater all scenarios. But after testing if the test cases are thrown away, it would create difficulty when we have to re-test the program it mean the effort we put for creating test cases will be lost so maintaining the repository of test cases is a good practice.

Having test case repositor helps a lot when we are going to automate regression testing as well.

3 comments:

  1. Having test case repositor helps a lot when we are going to automate testing as well

    If you think automation testing is convering manual test cases to automated ones - you got at least two things wrong - testing and automation.

    Automation code can be written even when there aren't any test cases. Ask Test Driven Development folks.

    If you already have test cases don't throw them but don't read through every line of it to run tests. Instead save that time and run more tests than what you have documented.

    ReplyDelete
  2. Maintaining Test case repository is indeed a good practice, That is one of the reasons of the existence of Test Management tools (using tools to help Testing activities is Test Automation-- James Bach). Why would people delete a Test Case, to save few bytes? (OK, mega bytes).

    Like Pradeep said, Test Case helps you during testing, they are nothing divine we don't have to follow them blindly :).

    Quoting Pradeep for myself "don't read through every line of it to run tests. Instead save that time and run more tests than what you have documented"

    ReplyDelete
  3. Pradeep thanks a lot for sharing your thoughts, As you have said, fortunatly i belive that automation is not converting manual test cases
    to automated ones,but i do belive that "Having test case repositor helps a lot when we are going to automate testing as well",as i said earlier in my post.
    yes, you are right we dont have to read each line and it all depends upon us how we take benefit from our test case repository,

    Automation code can be written even when there aren't any test cases. Ask Test Driven Development folks. i will comment on this line in my coming posts,

    Thanks all, for your great feedback.

    ReplyDelete