On Apr 12, 2009, at 5:12 PM, Trevor Vaughan wrote: > Sure: > > Platform: Fedora 10 > System: i386 > > $ pwd > /home/peiriannydd/dev/puppet > > $ spec/unit/transaction.rb > Loaded suite spec/unit/transaction > Started > > Finished in 0.000401 seconds. > > 0 tests, 0 assertions, 0 failures, 0 errors > $ cd spec; rake > > -- Output in attached file -- > > $ spec spec/unit/transaction.rb > ......*. > > Pending: > > Puppet::Transaction when evaluating should timeout with a useful > message (Not Yet Implemented) > ./spec/unit/transaction.rb:63 > > Finished in 5.977571 seconds > > 8 examples, 0 failures, 1 pending
So, I wrote that file, and that's how I execute tests quite a bit of the time, so I *know* that used to work for me. But now it doesn't. So, damn. In practice, I actually use autotest for running most of my tests, so it wouldn't be too surprising if something else broke and I didn't notice right away. I certainly recommend autotest for ongoing development. In the meantime, I guess using 'spec' (I recommend adding -cfs) is the way. > > Trevor > > > Luke Kanies wrote: >> On Apr 12, 2009, at 12:26 PM, Trevor Vaughan wrote: >> >>> Unfortunately, I've got the latest. I've used gems to install all >>> of the gems where possible since >>> Fedora is notorious for having out of date stuff. >> >> So can you provide the output of just running 'spec/unit/ >> transaction.rb'? And then maybe running 'cd spec; rake'? >> >> Are you able to run these tests at all? Are you running against the >> latest 0.24.x? >> > (in /home/peiriannydd/dev/puppet/spec) > > Finished in 0.044947 seconds > > 0 examples, 0 failures > /home/peiriannydd/dev/puppet/spec/monkey_patches/ > add_confine_and_runnable_to_rspec_dsl.rb:22:in `run': wrong number > of arguments (0 for 1) (ArgumentError) > from /home/peiriannydd/dev/puppet/spec/monkey_patches/ > add_confine_and_runnable_to_rspec_dsl.rb:22:in `run' > from /home/peiriannydd/dev/puppet/spec/monkey_patches/ > add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' > from /home/peiriannydd/dev/puppet/spec/monkey_patches/ > add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' > from /usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/lib/spec/runner/ > options.rb:117:in `run_examples' > from /usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/lib/spec/runner/ > command_line.rb:9:in `run' > from /usr/lib/ruby/gems/1.8/gems/rspec-1.2.2/bin/spec:4 > rake aborted! My guess is that you're running against the latest in my repo, rather than an official repo; I don't always keep the mainline branches up to date in my repo. Do you have commit 57b37e5182d01b640dc794b0a82128f8aeddfd7d as the second-to-last commit in your log? -- I take my children everywhere, but they always find their way back home. --Robert Orben --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---
