Şu satırı dahil ederiz
<dependency> <groupId>org.testcontainers</groupId> <artifactId>oracle-xe</artifactId> <version>${testcontainers.version}</version> <scope>test</scope> </dependency>
Örnek
Şöyle yaparız
OracleContainer oracleContainer = new OracleContainer("gvenzl/oracle-xe:21-slim-faststart") .withDatabaseName("testDB") .withUsername("testUser") .withPassword("testPassword")
Hiç yorum yok:
Yorum Gönder