Where to place common tests for different scenarios? #3860
Unanswered
ussserrr
8000
asked this question in
Q&A
Replies: 2 comments
-
Does a symbolic link work for your case? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@zhan9san You mean to store the tests somewhere else and have a symlink to them at the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I had a role with default project structure and
default
scenario:Recently I've added another scenario but the tests are common for both of them so I don't want to double but include them in both scenarios. The question is, where to put these tests? If I just place them at the root
molecule
dir,ansible-lint is complaining (it sees tests as standalone playbooks and analyzing them accordingly - throwing errors like
'ansible.builtin.command' is not a valid attribute for a Play
). I didn't found any recipes for such cases anywhere.Beta Was this translation helpful? Give feedback.
All reactions