What's new
-
batect now has significantly more detailed and better organised documentation available at batect.charleskorn.com.
-
Port mappings can now be specified for the main task container at the task level, for example:
tasks: start-app: run: container: app ports: - local: 123 container: 456
This is useful in situations where you don't always want to expose a port from a container. For example, when running journey tests, you might not want to map the application's port to the host, but when running the application itself for exploratory testing, you do.
What's been fixed
- batect will now check that Docker is installed and available before trying to use it, and display a more useful error message if Docker isn't available.
Getting started
First time using batect? Take a look at the getting started guide, or the Java or Ruby sample projects.
How to upgrade from previous versions
- If you're using batect 0.12 or newer, run
./batect --upgrade
to upgrade automatically. - If you're using an older version of batect, replace the
batect
script in your project with the one attached to this release. (Don't forget to make it executable withchmod +x batect
if need be.)