Skip to content

alex-harvey-z3q/shunit2_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unit testing an AWS CLI script in shUnit2/Placebo

Build Status

This is code that goes with my blog posts here and here.

Usage

Clone this repo:

$ git clone https://github.com/alexharv074/shunit2_example.git

Install patched shunit2 & Placebo:

$ curl -o /usr/local/bin/shunit2 \
    https://raw.githubusercontent.com/kward/shunit2/07bb3292048a4982aad7247bdd7890f2bf532ece/shunit2
$ curl -o /usr/local/bin/placebo \
    https://raw.githubusercontent.com/alexharv074/bash_placebo/master/placebo

Run the tests:

$ cd shunit2_example/
$ make

About

Code example testing an AWS CLI script in shUnit2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published