Skip to content
#

bats

Here are 82 public repositories matching this topic...

Percona QA is a suite of scripts and utilities that assists in building, continuous integration, automated testing & bug reporting for Percona Server, Percona XtraDB Cluster, Percona XtraBackup, Percona Server for MongoDB, as well as other flavors of MySQL (Oracle, Facebook MyQSL, WebScaleSQL, MariaDB) etc.

  • Updated May 3, 2021
  • Shell
polmabri
polmabri commented May 4, 2021

Hey,

first of all: thanks for providing this library - it simplifies script testing a lot!

I tried the TDD approach in a script-heavy project and found it quite hard to test piped commands:

...
envsubst < "${ARG_SOURCE_PATH}/shared/kind/kind.yaml" | kind create cluster --config -
...

In this example i pipe a yaml config file to the kind command.

When mocking the kind

Improve this page

Add a description, image, and links to the bats topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the bats topic, visit your repo's landing page and select "manage topics."

Learn more