You may have hit that issue in a college project or other hobby project you did with others. You wrote a certain class or a module and a few weeks later, a colleague tries to update it and he tries to update the names or the style of the code. You may have engaged in […]
I have seen thousands of code reviews. A good code review happens when both the developer and the reviewer follow a productive etiquette: Always remember that code reviews are not competitions and shouldn’t turn into fights. Avoid being aggressive in your comments or responses. You work with the person on the other end. Be respectful […]
Once you implement a feature and before you commit the code to the source code system it is common to have the code reviewed by your teammates. The goal of the code review is to make sure that the code meets the expectations of functionality, design, test coverage, and style. On functionality, the reviewer should […]
Design is a process that results in a document called the Design Document. The document should provide several key sections covering core areas of the design process. The process starts with a problem that needs a solution. Your first goal as a designer is to make sure that you understand the problem, so you need […]
As you design and maintain tests for your system, keep the following points in your mind: Ease of use and debugging are the highest priority. Everyone on the team should be able to run and debug the tests. Use your creativity to make the tests easy to run and debug instead of focusing on the most […]
We can categorize the types of tests we can create based on the target of the test: Unit Testing: The test target is a function or a class. The goal is to test that unit independently. Usually, we rely on an API interface in Unit Tests. Integration or System Testing: The test target is a […]
All tests run through the following stages: Test Setup: The goal of this stage is to create an environment for your test. It could be as simple as instantiating an object or as complex as installing all the dependencies for your web application. Text Execution: The goal of this stage is to run through a […]