Project

rspec-lono

0.0
No release in over a year
Lono RSpec support
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

rspec-lono

BoltOps Badge

Terraspec rspec helper methods. The usual testing process is:

  1. Build a test harness. The test harness is a generated lono project with the specified blueprint.
  2. Runs a lono up to create real resources.
  3. Check the resources. In many cases, check the CloudFormation resources and outputs.
  4. Runs a lono down to clean up the real resources.

Test harness location

Where is the generated test harness located?

The test hardness is materialized into /tmp/lono/test-harnesses/NAME.

Blueprint-Level and Project-Level Tests

The test helpers support both blueprint-level and project-level tests. See:

Installation

Add this line to your application's Gemfile:

gem 'rspec-lono'

And then execute:

$ bundle install