Skip to content

Install and easily operate the BATS-Core BASH Automation Testing System. A TAP-compliant testing framework for Bash.

License

Notifications You must be signed in to change notification settings

CircleCI-Public/BATS-orb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BATS Orb CircleCI Build Status CircleCI Orb Version GitHub License CircleCI Community

Easily install and execute the "Bats-Core" Bash Automated Testing System within your CircleCI pipelines. A TAP compliant bash-based testing utility used for testing bash shell scripts.

Usage

Example use-cases are provided on the orb registry page. Source for these examples can be found within the src/examples directory.

Resources

CircleCI Orb Registry Page - The official registry page of this orb for all versions, executors, commands, and jobs described. CircleCI Orb Docs - Docs for using and creating CircleCI Orbs.

Testing Orbs with BATS

Orbs are written using single self-executing bash scripts. To test them, it is helpful to break out particular functions within bash file so that they may be individually mocked and tested.

Funcshion is a bash utility written specifically with orbs in mind.

[ Full examples from the orb-tools-orb coming soon ]

How To Contribute

We welcome issues to and pull requests against this repository!

To publish a new production version:

  • Create a PR to the Alpha branch with your changes. This will act as a "staging" branch.
  • When ready to publish a new production version, create a PR from Alpha to master. The Git Subject should include [semver:patch|minor|release|skip] to indicate the type of release.
  • On merge, the release will be published to the orb registry automatically.

For further questions/comments about this or other orbs, visit the Orb Category of CircleCI Discuss.

About

Install and easily operate the BATS-Core BASH Automation Testing System. A TAP-compliant testing framework for Bash.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages