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

Update CONTRIBUTING with acceptance testing steps #150

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ofedoren
Copy link
Member

@ofedoren ofedoren commented Feb 21, 2023

@ekohl, here is my two cents which helped me (thanks to you ofc) with running acceptance tests locally.

I'd be glad for any additional suggestions, improvements, etc.

I'd also prefer a link from README to CONTRIBUTING, but I'm not sure it's doable from this repo.

This will make sure all needed modules are prepared to be used in a VM.

4. Run the tests:
- `BEAKER_HYPERVISOR=vagrant_libvirt bundle exec rspec`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be bundle exec rake beaker?

rspec didn't work for me, while rake beaker does

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird, I've never run rake beaker, but rspec :/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might very well be my setup :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intended command is rake beaker for the whole acceptance test suite. That already depends on spec_prep so that isn't a separate step.

If you just run rspec then you may also run unit tests.

@ofedoren
Copy link
Member Author

ofedoren commented Mar 1, 2023

Thanks, @evgeni and @ekohl, updated.

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