リファクタリング - CI/CD用語集の定義
リファクタリングとは、外部の振る舞いを変えずにコードの内部構造を変更して設計を改善することであり、その間ずっと既存のテストをグリーンに保つことで検証されます。
CI/CDにおいて
リファクタリングは高速で信頼できるテストスイートがあって初めて安全に行えるため、信頼できるCI pipelineは、振る舞いが変わっていないという確信を持ってチームがコードを再構築できるようにするセーフティネットです。
関連ガイド
Technical Debt - CI/CD Glossary DefinitionTechnical Debt: Technical debt is the implied future cost of choosing an easy or quick solution now over a be…
Code Smell - CI/CD Glossary DefinitionCode Smell: A code smell is a surface symptom in code (long methods, duplicated logic, large classes) that hi…
Test-Driven Development - CI/CD Glossary DefinitionTest-Driven Development: Test-driven development (TDD) is a practice where you write a failing test first, th…