Skip to content

Latest commit

 

History

History

testcontainers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Usage of the Testcontainers wrapper

  1. Add a testcontainers.properties file to the root of your test resources directory (example file);
  2. Add the repository names of the Docker images you would like to use. The following custom properties are available:
    • postgresql.container.image
    • cockroachdb.container.image
    • mariadb.container.image
    • mysql.container.image
    • mssql.container.image
  3. If using MS-SQL, add a container-license-acceptance.txt file to the root of your test resources directory example file.
    • Add the repository names of the MS-SQL Docker images your are planning to use.
  4. Modify your JDBC url to contain the tc:cam[DB_NAME]:[DB_VERSION] segment. E.g. jdbc:tc:campostgresql:13.2:///process-engine More details here.