The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Refactor #13692

Update puppetlabs_spec_helper to use new puppet core spec helper API

Added by Chris Price about 2 years ago. Updated over 1 year ago.

Status:ClosedStart date:04/09/2012
Priority:UrgentDue date:
Assignee:Chris Price% Done:

0%

Category:testing
Target version:2.7.14
Affected Puppet version: Branch:https://github.com/puppetlabs/puppetlabs_spec_helper/pull/1
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

It sounds like we are going to start using puppetlabs_spec_helper as a bridge between external projects (stdlib, grayskull, etc.) and puppet core. The goal here is to try to standardize on a simple API for test initialization / teardown, which will be compatible across multiple versions of puppet core so that external projects do not need to bother with the implementation details of setting up puppet for testing.

To this end: puppetlabs_spec_helper needs to be tweaked to call the new before/after API methods described in ticket #13595 (plus #13690, #13691).


Related issues

Blocks Puppet - Bug #13595: initialize_everything_for_tests couples modules to specif... Closed 04/02/2012 04/11/2012
Blocked by Puppet - Refactor #13691: Update puppet master for spec_helper compatibility with e... Closed 04/09/2012
Blocked by Puppet - Refactor #13690: Update puppet 2.7.x for spec_helper compatibility with ex... Closed 04/09/2012
Blocks Standard Library - Refactor #13693: Modify stdlib spec_helper to use puppetlabs_spec_helper Merged - Pending Release 04/09/2012
Blocks Puppet - Feature #13695: documentation for spec compatibility between external pro... Closed 04/09/2012

History

#1 Updated by Chris Price about 2 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Branch set to https://github.com/puppetlabs/puppetlabs_spec_helper/pull/1

#2 Updated by Chris Price about 2 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

#3 Updated by Moses Mendoza over 1 year ago

Can this ticket be updated?

#4 Updated by Chris Price over 1 year ago

  • Status changed from Merged - Pending Release to Closed

Also available in: Atom PDF