Can unit tests be implemented effectively with agility?

Soon I will be participating in a project that will use a flexible approach to project / development management, with 5 (or so) 2-week sprints. The project will use the DDD design template that I found in the past that works great with unit testing, so I enthusiastically use it for this project. The only issues are the following factors: I'm not sure if unit testing with agile development can be successfully completed:

  • Potential for constantly changing requirements (changing requirements, breakthrough tests, tests also need to be updated).
  • Time factor (unit tests can make dev more honest longer, and if requirements change by the end of the sprint, there may be too little time to update tests and production code with better quality).

I get the feeling that if / when the requirements change (especially if towards the end of the sprint), and given the tight deadlines, unit tests will become a burden. Anyone have any good advice on this?

+5
source share
3 answers

, . , , - , . , , , , .

+7

, 10 , . ? , , .

, . DDD . , DI/IoC SRP, , , , , .

+3

, . , , , .

-, . , . , . , , .

Thirdly, you need to better understand the DONE concept and why its definition is so important from the point of view of sustainable development. Basically, you cannot go in a sustainable way over time if your team violates the DONE concept in the short term.

+3
source

All Articles