Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor acceptance tests to use beaker-rspec #239

Merged
merged 8 commits into from
Jan 29, 2015

Conversation

petems
Copy link
Member

@petems petems commented Jan 16, 2015

Allows much easier tuning of tests, but still has serverspec so we can port over the existing tests. Beaker also has AWS support, so it's easy to test there too! 👍

@jenkinsadmin
Copy link

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@rtyler
Copy link

rtyler commented Jan 17, 2015

Interesting work @petems! I'll try to make sure I review this over the weekend, post haste!

@petems
Copy link
Member Author

petems commented Jan 17, 2015

Cool :) I'll probably add a line to the README.md about how to run it, but the tl;dr is:

Setup vagrant and virtualbox, then:

bundle exec rspec spec/acceptance/class_spec.rb

Whats really cool is that beaker has docker support, so you can run acceptance tests in CI pretty easily without having to wait for the VM's to spin up (example here: https://app.wercker.com/#buildstep/542851191dfdddeb6b023822).

As we're checking idempotency, we need to catch changes
@rtyler
Copy link

rtyler commented Jan 29, 2015

@petems you're on the hook for adding a README update in another pull request. if I don't see it soon I'll have to beat it out of you at FOSDEM :)

rtyler pushed a commit that referenced this pull request Jan 29, 2015
Refactor acceptance tests to use beaker-rspec
@rtyler rtyler merged commit c7211f3 into voxpupuli:master Jan 29, 2015
@rtyler rtyler added this to the 1.4.0 - Smithers milestone Jan 29, 2015
@petems
Copy link
Member Author

petems commented Jan 29, 2015

@rtyler Haha, I'll see what I can do! :)

@petems petems deleted the refactor_to_use_beaker branch January 29, 2015 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants