What is regression testing?

Asked

Viewed 2,940 times

11

In the subject of Software Testing the teacher addressed a term called Regression Test, this within the software testing discipline. So this term has generated me some doubts regarding this software.

Doubts

  1. What would be the Regression Test?
  2. What Benefits of Doing Regression Testing?
  3. What is this "regression" related to the test?

2 answers

13


What would be the Regression Test?

Identify previously non-existent errors after code changes.

What Benefits of Doing Regression Testing?

Fiddle with the winning team and keep on winning.

What is this "regression" related to the test?

Regression is just something that worked and doesn’t work anymore, it’s going backwards, spoiling what was good. It’s a bug introduced by a later change in the code. No regression in initial development.

Explaining

This is effectively the most important test you have to formally perform. Without it you always run the risk of changing something and what worked stop working.

We can say that it is the opposite of TDD, although they do not oppose it, I say only in the sense that TDD cares about defining what it should do for later, and the regression test cares about ensuring that what has been done is always done like this.

It is especially useful in code bases that will be used publicly and/or on a large scale.

It’s common for us to use unit testing to establish regression testing. Regression testing is not a specific technique, it is a broader methodology that uses specific tools.

Another goal is to not let a found error occur again. So when a bug is found writes the unit test and it passes part of the regression test.

Unit testing is not the only technique. A load test can be a regression test. That it helps everything to work properly if the change made brought a loss of performance, scalability, etc.?

You know those sites that assess whether your code produced the right result and give you points? At least the most sophisticated are doing some sort of regression test. It has to give a specific output, in the specific time, with a specific consumption.

Regression testing can be fully automated and does not require special access to implementation details.

It gives you confidence to change the code, either by a requirement change, or by refactoring.

Testing without a clear purpose is not good for much. Even TDD, which I tend to be critical of most cases ,but not all of them, has a clear purpose, although I disagree that it is so useful or that they reach it with this tool. Regression testing has a clear purpose.

I say this because a lot of the tests they do out there have the purpose of doing tests. People don’t even know why they’re doing it, what they want to fight, what they solve, they don’t have a methodology for achieving results. I’m not saying it’s a waste of time, but I could be a better employee.

  • How nice to see answers coming from your own hand.

  • See also explanations on how to prevent regression: https://answall.com/a/13530/4186

0

What would be the Regression Test?

Imagine that a program was designed and built with well-defined steps, followed by software tests to verify possible failures or incompatibilities. Everything was excellent until the software received a small update. This is where the regression test comes in. It is done after modifications, updates, addition of features or correction of defects, to check if the changes have not caused any problem in the program, generating instability or errors.

However, it takes time and can be more or less the same used before performing the tests in the previous stages. But it is extremely important, because a new one analyzed can help identify faults that have passed before. It is also possible to use test automation software in this task, although it is interesting for the evaluator to try to double check the components as much as possible.

It is possible to perform the regression test again throughout the system, only in the modified part or where it is believed that there was change because of the update. Parties having their functions modified by it.

What Benefits of Doing Regression Testing?

The regression test prevents problems that were thought to be solved from recurring, harming and invalidating almost all previous tests. It is a kind of final check, to assess if everything is really well, as planned, avoiding future annoyances.

What is this "regression" related to the test?

Well, the regression would be as if after inserting a new functionality the system does not get the merce of some "bug" because regression testing values for preparing system for this type of error by returning and identifying the moment when system was unable to recognize the new functionality

  • 1

    http://wevtimoteo.github.io/o-que-e-tester.html testsdesoftware.com/return test

  • Briefly the term "regression" is used because programmers have experienced for decades the phenomenon of seeing a certain bug1 returning magically after the correction of a certain bug2. It is in fact a tragic sentence of dejavu, so the term makes perfect sense to those who have experience in the field :-)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.