Sign inSign up

lucor/bats

By lucor

Updated over 9 years ago

Lightweight Docker Image for the Bash Automated Testing System

Image
0

7.2K

lucor/bats repository overview

Lightweight Docker Image for the Bash Automated Testing System

A lightweight Docker image for Bash Automated Testing System (bats)

It provides:

  • alpine v3.5
  • bats v0.4.0

and the following helpers:

Helpers loading

All helpers are stored under the /usr/local/lib/bats/ folder.

To load all helpers, add in your bats test the following line:

load '/usr/local/lib/bats/load.bash'

Examples

Display the bats help
  docker run --rm -ti lucor/bats bats
Run a bats test
  docker run --rm -ti \
    -v $(pwd):/tests \
    lucor/bats \
    bats your_test.bats

Tag summary

Content type

Image

Digest

Size

4.2 MB

Last updated

over 9 years ago

docker pull lucor/bats