All significant changes to this repo will be summarized in this file.
v2.14.1 (2019-03-26)
Fixed bugs:
v2.14.0 (2019-03-25)
Implemented enhancements:
- (feat) dont load the beaker if litmus is there #281 (tphoney)
- (maint) load rake tasks from optional libraries #279 (DavidS)
- Document how to set default values for fixture loading #277 (Felixoid)
Fixed bugs:
Merged pull requests:
v2.13.1 (2019-01-15)
Fixed bugs:
Merged pull requests:
v2.13.0 (2019-01-11)
Implemented enhancements:
- (PDK-1199) Honour .{pdk,git}ignore in check:symlinks rake task #267 (rodjek)
- (PDK-1137) Determine module name from metadata when possible #265 (rodjek)
Fixed bugs:
- (MODULES-8242) - Fix CI_SPEC_OPTIONS failing #268 (stamm)
- (PDK-997) Remove Dir.chdir call from check:test_file task #266 (rodjek)
Merged pull requests:
- (MODULES-8448) - Release Prep 2.13.0 #273 (pmcmaw)
- (maint) - Resolving bundler ruby version failure, updating tests to include puppet 6 #271 (pmcmaw)
- (MAINT) Add Plans Path Exclusion #270 (RandomNoun7)
v2.12.0 (2018-11-08)
Implemented enhancements:
- Added tasks to rspec pattern. #261 (dylanratcliffe)
- (PDK-1100) Use PDK to build module packages #260 (rodjek)
Fixed bugs:
- (bugfix) ignore bundle directory, for symlinks #263 (tphoney)
- (MODULES-7273) - Raise error when fixture ref invalid #262 (eimlav)
Merged pull requests:
v2.11.0 (2018-09-26)
Implemented enhancements:
- (MODULES-7856) Allow optional repositories based on puppet version #258 (joshcooper)
Fixed bugs:
Merged pull requests:
v2.10.0 (2018-08-30)
Implemented enhancements:
- (feat) add puppet lint fix task #255 (tphoney)
- add support to override the allowed test tiers #253 (b4ldr)
Merged pull requests:
- (maint) - Release prep for 2.10.0 #256 (tphoney)
- Update documentation for older Puppet versions #254 (op-ct)
- update README #252 (b4ldr)
v2.9.1 (2018-06-20)
Fixed bugs:
- (PDK-1031) Remove thread-unsafe Dir.chdir usage #249 (rodjek)
- (PDK-1033) Use
--unshallow
when fetching a ref #247 (DavidS)
Merged pull requests:
v2.9.0 (2018-06-18)
Implemented enhancements:
Merged pull requests:
This feature release adds a new rake task parallel_spec_standalone
which is a parallel version of spec_standalone
parallel_spec_standalone
rake taskspec_clean_symlinks
rake task to just clean symlink fixtures, not all fixtures- Leave downloaded fixtures on test failure to speed up test runs.
- Update already-existing fixtures instead of doing nothing to them.
Feature release to begin moving away from mocha as a testing (specifically, mocking) framework for modules.
- spec/plans/**/*_spec.rb to spec discovery pattern
- mocha as default test framework unless explicitly set by a module
- parsing for test tiers in beaker rake task
- module_spec_helper compatibility with mocha 1.5.0
A bugfix release to remove dependency on GettextSetup.initialize() in the Rake tasks.
Includes changes for 2.6.0 plus tests and bugfix of said feature.
Adds a defaults
section to .fixtures.yml
to specify properties such as flags
that apply to all fixtures in a category. One example use case is to specify an alternate forge URI for the forge_modules
fixtures.
- Add
defaults
section to fixtures.
Adds a fix to the parallel_spec rake task.
- In parallel_spec, warn when there are no files to test against rather than fail.
Adds a feature to pass test file targets from 'rake spec' to 'rspec', also fixes a parsing issue with test_tiers.
- Allows passing test file targets through to 'rspec' from 'rake spec'.
- Trim whitespace from test_tiers before parsing.
Fix mercurial stuff, allow fixtures other than spec/fixtures/modules/, and allow running specific tags for beaker tests.
- Ability to check out branches in mercurial
- Ability to target alternative locations to clone fixtures
TEST_TIERS
environment variable for beaker rake task
- mercurial cleanup command
- handle parallel spec load failure better
Cleanups and fixes around fixture handling.
- Do not error when no fixtures file is found or specified.
- Clean up fixtures, even if tests fail. Especially on Windows this is important to not keep lingering symlinks around.
- Fix creating of directory junctions (symlinks) on Windows for fixtures.
Adds a spec_list_json
rake task
spec_list_json
rake task to output a module's spec tests as a JSON document
CI_SPEC_OPTIONS
environment variable forparallel_spec
rake task
- Remove puppet ~> 3.0 pin from gemspec
i18n rake task, and unbreak windows again.
- New rake task for i18n stuff.
- Fixture path calculation for windows
- Log to stderr instead of stdout as per rspec's spec
Fix symlinks fixtures code.
Better Windows support.
- Create directory junctions instead of symlinks on windows (#192)
- Replace check:symlinks with platform independent alternative (#193)
This release fixes puppet module install into paths with spaces, and fix conflicting build names for CI jobs.
- Properly exscape paths for puppet module install
- Add "r" to the beginning of
rake compute_dev_version
The release_tasks
now falls back to spec
if the parallel_spec
test fails due to the parallel_tests
gem being absent.
- Make
release_tasks
fall back tospec
when missing theparallel_tests
gem
Bugfix for an unstated dependency on parallel_spec that was added in 2.0.0
- Add dependency for parallel_spec, since psh requires it anyway.
Minor version bump for new CI_SPEC_OPTIONS variable and bug fix.
- use CI_SPEC_OPTIONS to pass options to rspec
- an issue where gettext:setup tasks were being loaded in the wrong order within a module and causing the POT file to be created in the Puppet gem, not the module.
Fixes an issue where the gettext rake tasks look in the spec_helper and not the current module for the locales/
directory.
Fixes an issue where older puppets don't bring in the gettext gem requirement causing the psh rake tasks to fail.
- Don't define gettext rake tasks if gettext library is not present
This release makes the module working dir configurable, adds features for future puppet features, and updates the spec rake task for TravisCI
- The
release_tasks
rake task now callsparallel_spec
instead ofspec
- Make
module_working_dir
configurable - Check
type_aliases
directory for spec tests - Locales support for i18n
- Ensure /-only used on windows
Dominic Cleal reported and fixed an issue with the STRICT_VARIABLES setting on puppet versions before 3.5.
The previous release was taken down, as some optional gem dependencies slipped through into the gemspec, breaking builds using ruby 2.2 and earlier. This release updates the gem build process, so this should not happen again.
1.2.0 - 2016-08-23
Add a bunch of new features, and fix a bunch of annoying bugs: parallel test execution, default to strict variable checking on Puppet 4, code coverage, and rubocop tasks.
Thanks to all community contributors: Alexander Fisher, Alex Harvey, Chris Tessmer, David Moreno García, Dmitry Ilyin, Dominic Cleal, Federico Voges, Garrett Honeycutt, Leo Arnold, Matthew Haughton, Mickaël Canévet, and Rob Nelson.
New tasks:
- Add code coverage for Ruby >= 1.9 using SimpleCov.
- Add a rubocop rake task.
- Use beaker:ssh to log into your running beaker machines.
Spec parallelization
- Add
parallel_spec
task to run specs in parallel. - Use CI_NODE_TOTAL and CI_NODE_INDEX to split tests across nodes.
Fixtures improvements:
- Automatically symlink the module directory, if no symlink fixtures are specified.
- Add the
subdir
key to repository fixtures to only use a part of that repository. - Set
FIXTURES_YML
environment variable to load fixtures from somewhere else than.fixtures.yml
.
- Updated default excludes and rspec patterns.
- Updated default disabled lint checks to work with puppet-lint 2.0.0.
- Testing on Puppet 4 will now default to strict variable checking. Set STRICT_VARIABLES=no to disable.
PuppetInternals.scope
is now deprecated. Use the newscope
property from rspec-puppet.- beaker_nodes is now called beaker:sets.
- Ignore symlinks inside .git when running check:symlinks rake task.
- Allow multiple invocations of spec_prep to run in parallel.
- Address a race condition when cloning multiple git fixtures.
- Restrict gem dependencies to work with ruby 1.9.
- Update verify_contents() to work with duplicates in the arguments.
1.1.1 - 2016-03-02
Readded and properly deprecated the metadata
rake task. Use the metadata_lint
task from metadata-json-lint directly instead.
1.1.0 - 2016-02-25
This release adds the ability to clone fixtures from git in parallel, speeding up the spec_prep rake task.
- Parallel fixtures cloning
- Various rake check tasks for module release preparation
- Added travis ci
- Added contributing doc
- Don't validate metadata if metadata-json-lint gem is not present
1.0.1 - 2015-11-06
This bugfix release fixes the Error vs. Errno bug in 1.0.0
- Raise
Errno::ENOENT
instead ofError::ENOENT
1.0.0 - 2015-11-04
The first 1.0 release, though the gem has been considered stable for a while.
flags
value for fixtures to allow passing CLI flags when installing modulesspec_standalone
rake task also runsspec/types
specs- Can now use
.fixtures.yaml
instead of.fixtures.yml
- Remove double-initialization that was conflicting with rspec-puppet
- Better error handling on malformed fixtures yaml
- Bug in rake task's ignore_paths
0.10.3 - 2015-05-11
A bugfix for puppet 3 and puppet 4 tests being able to run with the same environment variables.
- Allow
STRINGIFY_FACTS
andTRUSTED_NODE_DATA
to be set on Puppet 4 as noop instead of fail - Fix linting to be more like approved module criteria
0.10.2 - 2015-04-14
A bugfix for puppet 4 coming out, which manages modulepath and environments differently.
- Use puppet 4 environmentpath and environment creation on puppet 4
0.10.1 - 2015-03-17
A bugfix for the previous release when using references.
- Only shallow clone if not using a reference
0.10.0 - 2015-03-16
This release adds shallow fixtures clones to speed up the spec_prep step for rspec-puppet
- Shallow clone fixtures
- Don't lint in vendor/ (spec/fixtures/ and pkg/ are alread ignored)
- Don't syntax check in spec/fixtures/, pkg/, or vendor/
0.9.1 - 2015-02-24
This release removes the hard dependency on metadata-json-lint, as it requires a dev toolchain to install the 'json' gem.
- Only warn when metadata-json-lint isn't installed instead of requiring it
0.9.0 - 2015-02-24
This release adds fixes for rspec-puppet 2.0 and json linting for metadata.json
- Add json linting for metadata.json (adds dep on metadata-json-lint gem)
- Document using references in fixtures
FUTURE_PARSER=yes
working with rspec-puppet 2.0- Symlinks breaking on windows
- rspec as a runtime dependency conflicting with rspec-puppet
- root stub for testing execs
0.8.2 - 2014-10-01
This release fixes the lint task on the latest puppet-lint
- Fix the lint task require code
0.8.1 - 2014-08-25
This release corrects compatibility with the recently-released puppet-lint 1.0.0
- Turn on relative autoloader lint checking for backwards-compatibility
- Turn off param class inheritance check (deprecated style)
- Fix ignore paths to ignore
pkg/*
0.8.0 - 2014-07-29
This release uses the new puppet-syntax gem to perform manifest validation better than before! Shiny.
- Use puppet-syntax gem for manifest validation rake task
- Fix compatibility with rspec 3
0.7.0 - 2014-07-17
This feature release adds the ability to test structured facts, manifest ordering, and trusted node facts, and check out branches with fixtures.
- Add
STRINGIFY_FACTS=no
for structured facts - Add
TRUSTED_NODE_DATA=yes
for trusted node data - Add
ORDERING=<order>
for manifest ordering - Add
:branch
support for fixtures on a branch.
- Fix puppet-lint to ignore spec/fixtures/
0.6.0 - 2014-07-02
This feature release adds the validate
rake task and the ability to test
strict variables and the future parser with rspec-puppet.
- Add
validate
rake task. - Add
STRICT_VARIABLES=yes
to module_spec_helper - Add
FUTURE_PARSER=yes
to module_spec_helper
- Avoid conflict with Object.clone
- Install forge fixtures without conflicting with already-installed modules
0.5.2 - 2014-06-19
This release removes the previously non-existant puppet runtime dependency to better match rspec-puppet and puppet-lint and allow system puppet packages to be used instead of gems.
- Remove puppet dependency from gemspec
0.5.1 - 2014-06-09
This release re-adds mocha mocking, which was mistakenly removed in 0.5.0
- Re-enable mocha mocking as default.
0.5.0 - 2014-06-06
This is the first feature release in over a year. The biggest feature is fixtures supporting the forge, and not just github, plus rake tasks for syntax checking and beaker.
- Install modules from the forge, not just git
- Beaker rake tasks added
- Syntax task added
- Rake spec runs tests in
integration/
directory
- Fix the gemspec so that this may be used with bundler
- Fix removal of symlinks
- Fix removal of site.pp only when empty
- Ignore fixtures for linting
- Remove extra mocha dependency
- Remove rspec pinning (oops)
This release corrects the pinning of rspec for modules which are not rspec 3 compatible yet.
- Pin to 2.x range for rspec 2
- Fix aborting rake task when packaging gem
- Fix puppet issue tracker url
- Fix issue with running
git reset
in the incorrect dir
0.4.1 - 2013-02-08
- (#18165) Mark tests pending on broken puppet versions
- (#18165) Initialize TestHelper as soon as possible
- Maint: Change formatting and handle windows path separator
0.4.0 - 2012-12-14
- Add readme for fixtures
- add opts logic to rake spec_clean
- add backwards-compatible support for arbitrary git refs in .fixtures.yml
- Rake should fail if git can't clone repository
- Fix Mocha deprecations
- Only remove the site.pp if it is empty
- (#15464) Make contributing easy via bundle Gemfile
- (#15464) Add gemspec from 0.3.0 published gem
0.3.0 - 2012-08-14
- Add PuppetInternals compatibility module for scope, node, compiler, and functions
- Add rspec-puppet convention directories to rake tasks
0.2.0 - 2012-07-05
- Fix integration with mocha-0.12.0
- Fix coverage rake task
- Fix an issue creating the fixtures directory
- Initial release
* This Change Log was automatically generated by github_changelog_generator