A Docker container for API Functional Monitoring with the Blackbox Automated Testing (BAT) CLI
This repository is used to build a Docker image which can be run in CI/CD pipelines.
To build the Docker image run the following command
bash build.sh
The code above creates a Docker image based on maven and installs BAT. To run the docker container and execute a test suite using BAT, run the following command:
docker run --rm -v "${PWD}/example":/usr/src/mymaven mule-blackbox-automated-testing:latest bat.yaml --config=dev
If you'd prefer not to build the image yourself, you can run the following command to use one that has already bee published to Docker Hub:
docker run --rm -v "${PWD}/example":/usr/src/mymaven mikeyryan/mule-blackbox-automated-testing:latest bat.yaml --config=dev
Here's a list of other related projects:
This project is licensed under Unlicense license. This license does not require you to take the license with you to your project.