Astro is here
Hello, my name is Roman Troitsky.
I created this blog to structure my experience. I’ll share cool, interesting, and complex things, and sometimes—thoughts.
- Red phase. We write a test that is guaranteed to fail for the expected reason. If the reason for the failure doesn’t match the expected one, it’s too early to proceed to implementation.
- Green phase. We write the function that makes the test pass. The cycle is short, so the implementation should be as simple as possible.
- Blue phase. At this stage, we refactor the test and implementation code. Refactoring in the blue phase is safe because all functionality affected by the refactoring is already covered by tests. If something breaks along the way, we’ll know immediately. Blue phase. At this stage, we refactor the test and implementation code. Refactoring in the blue phase is safe because all functionality affected by the refactoring is already covered by tests. If something breaks along the way, we’ll know immediately.