test-kitchen / busser-minitest

A Busser runner plugin for the minitest testing library
Other
9 stars 5 forks source link

No matchers #2

Open ivey opened 11 years ago

ivey commented 11 years ago

Would be nice to have some helpful matchers (maybe shamelessly ripped from minitest-chef-handler)

Will work on this some soon.

mconigliaro commented 11 years ago

Yes. Additionally, I'd like to know how (if it's possible) to access node attributes from the tests.

ghost commented 10 years ago

busser-minitest is not run within the converge cycle. So node attributes are not accessible.

fnichol commented 9 years ago

@ivey Agreed, something a bit more "batteries included" would be helpful. Thankfully as of 9addd3235dfe6f2e6cee367472e2005ebedf211e (which is in the released 0.3.0 version), you can ship a Gemfile which helps busser install other gem libraries before running the test suite. We may be able to use this to prototype what these matchers could look like.