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

[FEATURE] Static tests instead of parameters #46

Closed
xtianae7 opened this issue Dec 28, 2020 · 0 comments · Fixed by #48
Closed

[FEATURE] Static tests instead of parameters #46

xtianae7 opened this issue Dec 28, 2020 · 0 comments · Fixed by #48
Labels
enhancement New feature or request

Comments

@xtianae7
Copy link
Member

Description

The current tests generated by cookiecutter is generated with parameters.
Make them static tests.

Why is this needed?

This is needed because we want to have tests that are always the same. With parameters we might carry errors from the variable into the test. We want to avoid this,

Additional Information

With the current default tests we have, this is not possible, since there is no way to know, for example, who is the "owner" or what "group" owns the directory

My suggestion to solve this is:

  • Leave service test since its a static test already
  • Add a comment of the minimum tests that should be done to guarantee a quality ansible role.
  • Maybe add a link to Goss documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant