rspec-puppet 2.4.0 released

21 views
Skip to first unread message

David Schmitt

unread,
Mar 24, 2016, 10:12:46 AM3/24/16
to puppe...@googlegroups.com
Hi *,

I'm very happy to announce a new release of rspec-puppet, the unit test framework for puppet manifests:

This release now supports testing exported resources in the same way that normal resources in the catalog are tested. Access them in your examples using `exported_resources`. See "Testing Exported Resources" in the README for examples.

### Changed

* This release pulls out much of the version-specific code into separate classes to reduce complexity and enable easier maintenance going forward.

### Added

* Support colon-separated module_path and environmentpath values.
* Support a threshold for the code coverage test, that can fail the whole run.
* Ensure a consistent environment for all examples by adding a forced initialization of puppet before each.

### Credits

Thanks to Adrien Thebo, Arthur Gautier, Brett Gray, and Nicholas Hinds, as well as all the folks helping out on github for their contributions to this release.


Cheers, David Schmitt

PS: if you too want to help out, anything you can add to https://github.com/rodjek/rspec-puppet/tree/gh-pages to improve the online docs would be of great help!

Alex Harvey

unread,
Apr 9, 2016, 6:51:26 AM4/9/16
to Puppet Developers


On Friday, March 25, 2016 at 1:12:46 AM UTC+11, David Schmitt wrote:
Hi *,

I'm very happy to announce a new release of rspec-puppet, the unit test framework for puppet manifests:

This release now supports testing exported resources in the same way that normal resources in the catalog are tested. Access them in your examples using `exported_resources`. See "Testing Exported Resources" in the README for examples.

Fantastic!   
Reply all
Reply to author
Forward
0 new messages