https://github.com/boltops-tools/rspec-lono
https://github.com/boltops-tools/rspec-lono
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/boltops-tools/rspec-lono
- Owner: boltops-tools
- License: apache-2.0
- Created: 2022-02-19T04:18:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T02:25:17.000Z (over 4 years ago)
- Last Synced: 2025-02-18T05:04:52.192Z (over 1 year ago)
- Language: Ruby
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# rspec-lono
[](https://www.boltops.com)
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:
* [Lono Testing](https://lono.cloud/docs/testing/)
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'rspec-lono'
```
And then execute:
$ bundle install