Page 1 of 1

Just after the first iteration

Posted: Mon Dec 23, 2024 4:31 am
by rakibhasan
test and code, it is impossible to refactor only test or code (we should modify only one part of our app at a time). A classical example is mathematic operations:
of the TDD cycle, we should remove duplicated value 5 that appears both in code and test (and no change from 5 to 2+3 is not removing duplication ;)) If we try to extend or modify the code we will break test so we can’t move forward.

After we eliminate duplication bulgaria mobile number we are allowed to start refactoring in the classical meaning of this word.

Benefits of using TDD cycle
The first advantage of using this technique by the software developer is courage in interaction with code (understood as changes inside the code or refactor it).

The second one is the fact that we can treat the test as documentation of Interaction between features and their expected behavior.

Another benefit is active support for reaching the project’s goal by defining rigid procedures in each development step. This approach guarantees that a created code will implement functionality defined by tests. It’s crucial from a Product Owner’s perspective.

Despite the rigid process this technique is very flexible inside step: It doesn’t define the granularity of test or moment when we should finish refactor – this is decision is made by the developer based on his knowledge of the business domain, language, etc.