振る舞い駆動開発 - CI/CD用語集の定義
振る舞い駆動開発は、チーム全体で共有される読みやすい振る舞いのシナリオとしてテストを表現します。
振る舞い駆動開発 (BDD) は、ビジネスとエンジニアリングの双方が読める自然言語 (Given, When, Then) で望ましい振る舞いを記述し、それらのシナリオをテストとして自動化することでTDDを拡張します。
Dan Northに関連づけられるBDDは、焦点を実装のテストから振る舞いの仕様化へと移します。CucumberやSpecFlowといったフレームワークがシナリオを実行します。
CIでは
BDDのシナリオスイートは他のテストと同様にpipelineで実行され、リグレッションからの保護と人間が読めるドキュメントの両方を提供します。
関連ガイド
Given, When, Then - CI/CD Glossary DefinitionGiven, When, Then: Given, When, Then is a template for expressing a test or scenario in plain language: given…
Test-Driven Development - CI/CD Glossary DefinitionTest-Driven Development: Test-driven development (TDD) is a practice of writing a failing test before writing…
Acceptance Test-Driven Development - CI/CD Glossary DefinitionAcceptance Test-Driven Development: Acceptance test-driven development (ATDD) is a collaborative practice whe…