Docker Image
VIVIDUS Docker images are built and pushed to Docker Hub. The image includes Java runtime, VIVIDUS core and all VIVIDUS plugins, so it’s all-in-one solution. The Docker image enables easier extension of CI/CD pipelines with VIVIDUS-based tests. The appliance is not limited to CI/CD and the image can be used to run tests locally or anywhere else, however it could be less convenient in comparison with regular Gradle task or IDE.
How to run the tests
-
Assuming there is a project containing VIVIDUS-based tests (e.g. VIVIDUS Starter)
-
Go to the project root directory
cd vividus-starter
-
Create a new directory or choose any existing directory at any location, this directory is going to be used to store the test logs and the report.
mkdir results
-
Run the tests in the container
The version of VIVIDUS used in the project (see build.gradle
file) and the version of the Docker image must be the same.docker run --rm --mount source="$(pwd)/src/main/resources",target=/vividus/resources,type=bind --mount source="$(pwd)/results",target=/vividus/output,type=bind vividus/vividus:0.5.8
-
Wait for the tests completion
-
Find the test execution artifacts in the results folder chosen at step 2.
VIVIDUS Docker image includes:
-
Java runtime environment
-
All VIVIDUS plugins
-
Database connectors for the following databases:
-
mysql-connector-java
(MySQL) -
mssql-jdbc
(Microsoft SQL Server, Azure SQL) -
postgresql
(PostgreSQL) -
ojdbc10
(Oracle Database) -
db2jcc
(DB2) -
csvjdbc
(CSV) -
h2
(H2) -
snowflake-jdbc
(Snowflake)
VIVIDUS Docker image doesn’t contain any browsers. |