Hi David Thanks for pointing out 'pdk bundle' - it does provide what I was looking for. It is however a bit noisy (but that's not a big deal):
PS> pdk bundle exec -- rspec .\spec\classes\apg_base_spec.rb . Finished in 7.81 seconds (files took 1.85 seconds to load) 1 example, 0 failures C:/Program Files/Puppet Labs/DevelopmentKit/share/cache/ruby/2.1.0/gems/puppet-5.0.1-x64-mingw32/lib/puppet/util/windows /api_types.rb:6: warning: already initialized constant FFI::WIN32_FALSE C:/Program Files/Puppet Labs/DevelopmentKit/share/cache/ruby/2.1.0/gems/facter-2.5.0-x64-mingw32/lib/facter/util/windows /api_types.rb:5: warning: previous definition of WIN32_FALSE was here C:/Program Files/Puppet Labs/DevelopmentKit/share/cache/ruby/2.1.0/gems/puppet-5.0.1-x64-mingw32/lib/puppet/util/windows /api_types.rb:9: warning: already initialized constant FFI::ERROR_SUCCESS C:/Program Files/Puppet Labs/DevelopmentKit/share/cache/ruby/2.1.0/gems/facter-2.5.0-x64-mingw32/lib/facter/util/windows /api_types.rb:8: warning: previous definition of ERROR_SUCCESS was here C:/Program Files/Puppet Labs/DevelopmentKit/share/cache/ruby/2.1.0/gems/puppet-5.0.1-x64-mingw32/lib/puppet/util/windows /api_types.rb:21: warning: already initialized constant FFI::Pointer::NULL_HANDLE C:/Program Files/Puppet Labs/DevelopmentKit/share/cache/ruby/2.1.0/gems/facter-2.5.0-x64-mingw32/lib/facter/util/windows /api_types.rb:20: warning: previous definition of NULL_HANDLE was here !! spec/fixtures/modules/rimcdm already exists and is not a symlink The things that I use 'rake' and 'rspec' for are: > rspec spec/classes/some_class_spec.rb # to run a single unit test instead of all tests > rake spec_prep # to update fixtures > rake spec_standalone # to run tests without updating fixtures I'm working on refactoring an over-sized module; that's why being able to do quick tests is important to me. I'm using the version of rspec-puppet bundled with the PDK - it appears to be version 2.6.7: PS> pdk bundle exec -- rspec --debug ... # C:/Program Files/Puppet Labs/DevelopmentKit/share/cache/ruby/2.1.0/gems/rspec-puppet-2.6.7/lib/rspec-puppet/monkey_patches.rb:273:in `require' ... On Thursday, 17 August 2017 10:33:08 UTC+2, David Schmitt wrote: > > <why does google groups insist on quoting every message?? - snip> > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/50c77961-3246-47d3-bba8-1ff1a9d2cd78%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
