テストデータベース - CI/CD用語集の定義
テストデータベースは、テストスイート専用の使い捨てのデータベースインスタンスで、開発や本番から隔離されているため、テストは自由にデータを作成、変更、削除できます。
CIでは
CIは通常、新しいデータベースをservice container(Postgres、MySQL、Redis)として起動し、マイグレーションを実行し、最後に破棄します。各実行がクリーンな状態で始まることが、結果を再現可能にします。
関連ガイド
Fixture Data - CI/CD Glossary DefinitionFixture Data: Fixture data is a fixed, predefined dataset loaded before a test so the test runs against a kno…
Database Snapshot - CI/CD Glossary DefinitionDatabase Snapshot: A database snapshot is a point-in-time copy of a database (a dump or a storage-level clone…
Connection String - CI/CD Glossary DefinitionConnection String: A connection string is a single value that tells a client how to reach a database, encodin…