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

Bring back the Acceptance Test Harness #2249

Open
dduportal opened this issue Jul 4, 2022 · 0 comments
Open

Bring back the Acceptance Test Harness #2249

dduportal opened this issue Jul 4, 2022 · 0 comments

Comments

@dduportal
Copy link
Contributor

As underlined in #2235 Serverpsec tests are deprecated since Q1 2021 (the vagrant plugin is not maintained anymore and is not working with Vagrant 2.x).

We should bring back a test harness as part of the vagrant acceptance testing:

  • either find a solution to run ServerSpec v2 inside the vagrant "instance", after the puppet provision, and returns an exit code based on its status + test reports.
    • Pros: we might be able to reuse the existing serverspec logic + rpsec is the same language as for unit tests (but with different assertion resources though)
  • OrsSwitch to Goss as it can also be used for Docker with the dgoss wrapper and provides automatic adding tests
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

No branches or pull requests

1 participant