Presentation is loading. Please wait.

Presentation is loading. Please wait.

MEWT 2 13 th September 2014. Regression Testing: The Bane of the Tester Paul Berry (written on the train)

Similar presentations


Presentation on theme: "MEWT 2 13 th September 2014. Regression Testing: The Bane of the Tester Paul Berry (written on the train)"— Presentation transcript:

1 MEWT 2 13 th September 2014

2 Regression Testing: The Bane of the Tester Paul Berry (written on the train)

3 Initial thoughts When I first read what the theme of this year’s workshop was I thought “Well, that's a bit obvious. Surely everyone knows what Regression Testing is?” It turns out there’s no such thing as a silly question, especially when it comes to testing. So let me just set out what I understand regression testing to be, because I know already (thanks, Twitter) that there’s a difference of opinion in the room as to what that might be. Again, I’m not going off what the “dictionary definition” says. I’ve deliberately not looked it up. I must present what I understand it to be, not what I’d like it to be, and certainly not what some other source says it is.

4 Regression Testing is... Ensuring what has already been tested, and found to be good, remains so as the software continues to be developed. Ideally you would re-run all your previous tests every time there is a change.

5 What’s the problem? Why is it the “bane of the tester”?

6 What’s the problem? Why is it the “bane of the tester”? There is rarely (if ever) enough resource to cover a full regression test every time it is needed.

7 Reducing the load There are some common tactics to reduce the workload…

8 Reducing the load There are some common tactics to reduce the workload… 1.Don’t retest everything.

9 Reducing the load There are some common tactics to reduce the workload… 1.Don’t retest everything. Wait until there are enough changes built up to form a release, then test that. Reduces effort with minimal risk.

10 Reducing the load There are some common tactics to reduce the workload… 1.Don’t retest everything. Wait until there are enough changes built up to form a release, then test that. Reduces effort with minimal risk. Only test significant changes. How do you determine “significant”?

11 Reducing the load There are some common tactics to reduce the workload… 1.Don’t retest everything. Wait until there are enough changes built up to form a release, then test that. Reduces effort with minimal risk. Only test significant changes. How do you determine “significant”? Only test those areas likely to have been affected. Again, sensible, but how is this determined?

12 Reducing the load There are some common tactics to reduce the workload… 2.Don’t do it all yourself.

13 Reducing the load There are some common tactics to reduce the workload… 2.Don’t do it all yourself. Spread the testing effort out across the team. Rerunning tests manually is dull. Rotate the tests. Share the pain.

14 Reducing the load There are some common tactics to reduce the workload… 2.Don’t do it all yourself. Spread the testing effort out across the team. Rerunning tests manually is dull. Rotate the tests. Share the pain. Outsource the testing. Rerunning tests manually is dull. Let factory testers do it.

15 Reducing the load There are some common tactics to reduce the workload… 2.Don’t do it all yourself. Spread the testing effort out across the team. Rerunning tests manually is dull. Rotate the tests. Share the pain. Outsource the testing. Rerunning tests manually is dull. Let factory testers do it. Automate the testing. Let the computer do the work. Now you have two problems.

16 Maintain it Also remember to maintain the Regression Tests. Whether manual, automated, or a mix.

17 Coverage Regression Tests are…

18 Coverage Regression Tests are… All the tests you have run to check against requirements.

19 Coverage Regression Tests are… All the tests you have run to check against requirements. All the tests you have run to check the fixes are correct.

20 Coverage Regression Tests are… All the tests you have run to check against requirements. All the tests you have run to check the fixes are correct. That’s a lot of tests.

21 Regression Testing vs Sapient Testing Regression Testing is the antithesis of Sapient Testing.

22 Regression Testing vs Sapient Testing Regression Testing is the antithesis of Sapient Testing. Use sapient testing to explore the way ahead. Use regression testing to shore up the road behind.

23 Q&A Talk!


Download ppt "MEWT 2 13 th September 2014. Regression Testing: The Bane of the Tester Paul Berry (written on the train)"

Similar presentations


Ads by Google