filmov
tv
Code Cast: Legacy Coderetreat Episode 3 - Fix a Bug [Java]
![preview_player](https://i.ytimg.com/vi/MvlMspRUDkw/maxresdefault.jpg)
Показать описание
During this code cast you can see how to fix a bug on existing code. System tests and unit tests are used to make sure the minimum amount of code is changed.
The bug is characterized by a test and then another test is added to show the correct functionality.
As a general practice: commit often, after each small change or refactoring. This way of working ensures that if we do any mistake, we can go back without trying to find a way to fix the system and lose precious time.
All these steps ensure taking a minimum risk when changing code that you do not know.
Programming Language: Java
The bug is characterized by a test and then another test is added to show the correct functionality.
As a general practice: commit often, after each small change or refactoring. This way of working ensures that if we do any mistake, we can go back without trying to find a way to fix the system and lose precious time.
All these steps ensure taking a minimum risk when changing code that you do not know.
Programming Language: Java