Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/docwhat/bats-docker

BATS docker image
https://github.com/docwhat/bats-docker

Last synced: 2 days ago
JSON representation

BATS docker image

Awesome Lists containing this project

README

        

BATS docker container
=====================

[![GitHub
release](https://img.shields.io/github/release/docwhat/bats-docker.svg)](https://github.com/docwhat/bats-docker/releases)
![ci](https://github.com/docwhat/bats-docker/workflows/ci/badge.svg)

> This image is for running [bats (AKA bats-core)](https://github.com/bats-core/bats-core) tests.

Usage
-----

``` bash
# Assuming your source code is in the current directory
# and the tests are in 'test/'.
$ docker run --tty --rm \
--volume="${PWD}/:/src/:ro" \
docwhat/bats:latest /src/test/
```