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

Metadata file instead of deps file #22

Open
jscotka opened this issue May 5, 2016 · 1 comment
Open

Metadata file instead of deps file #22

jscotka opened this issue May 5, 2016 · 1 comment

Comments

@jscotka
Copy link
Collaborator

jscotka commented May 5, 2016

#21 reminds me, that it would be nice, to get testname based on some metadata, not exactly on directory name.
for example:
deps file will be removed
metadata file will be added and will contain for example using syntax of https://docs.python.org/2/library/configparser.html

[Description]
name = superpingtest
summary: this test is testing ping somehow
   and it is very perfect ultimate test

[Dependencies]
rpm=abc def
deb=abc xyz

[Executables]
server=../othertest/server
client=client

[Environment]
variable=I dont know what to write there now

Then it will be possible easily extend schedule possibilities or add some filtering options (some tests are irrelevant for some environments for example)
and also names will be independent on directory structure.
more less all of sections could be omitted, only description have to be there.

@jscotka
Copy link
Collaborator Author

jscotka commented May 5, 2016

Or there can be used json parser for config file instead of that one, becasue it is now used, so no more python dependencies needed, although congfigparser is general part of python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants