about:using_principles_in_the_agile_world
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Last revision | |||
— | about:using_principles_in_the_agile_world [2013-02-18 16:19] – created christian | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Using Principles In The Agile World ====== | ||
+ | Unlike [[about: | ||
+ | |||
+ | - write a test | ||
+ | - see that it fails | ||
+ | - write some code to make the test pass | ||
+ | - see that the test succeeds | ||
+ | - refactor | ||
+ | |||
+ | Design decisions are made in steps 1, 3 and 5. | ||
+ | |||
+ | |||
+ | ===== Design Decisions Made While Writing Tests ===== | ||
+ | |||
+ | While writing an automated test, design decisions about the interface of a [[glossary: | ||
+ | |||
+ | The central principle during this phase is [[principles: | ||
+ | |||
+ | |||
+ | ===== Design Decisions Made While Writing Code ===== | ||
+ | |||
+ | Design decisions in this phase comprise decisions upon algorithms, data structures, private methods, etc. The interface of the module that implements the feature has already been designed. So this phase deals with finding a suitable implementation that complies with the interface specified by the test. | ||
+ | |||
+ | During this phase the feature is implemented. Agile methodologies typically call for simple solutions here. So the central principle during this phase is [[principles: | ||
+ | |||
+ | |||
+ | ===== Design Decisions Made While Refactoring ===== | ||
+ | |||
+ | The last step in the TDD cycle is refactoring. Decisions made in previous phases of the cycle or previous incarnations of the cycle may be reversed in order to improve the design without changing functionality. This does not mean that this is solely a correction phase for bad decisions taken earlier. Rather solutions which were " | ||
+ | |||
+ | For this phase there is no central principle. Rather the principle language as a whole is used to find problems in the design which need to be treated using refactoring. |
about/using_principles_in_the_agile_world.txt · Last modified: 2013-05-19 22:09 by 127.0.0.1