接続文字列 - CI/CD用語集の定義
接続文字列は、クライアントにデータベースへの到達方法を伝える単一の値で、ホスト、ポート、データベース名、ユーザー、オプションをエンコードします。たとえば postgres://user:pass@localhost:5432/app などです。
CIでは
接続文字列はsecretまたは環境変数(多くの場合 DATABASE_URL)として注入され、テストが実在するものではなく一時的なテストデータベースを指すようにします。
関連ガイド
Connection Pool - CI/CD Glossary DefinitionConnection Pool: A connection pool is a cache of open database connections that an application reuses instead…
Test Database - CI/CD Glossary DefinitionTest Database: A test database is a disposable database instance used only by the test suite, isolated from d…