-
Notifications
You must be signed in to change notification settings - Fork 28
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
first draft of tool for output test formatting #16
Conversation
Pull Request Test Coverage Report for Build 67
💛 - Coveralls |
That's a relly neat idea! Thanks, Honza. I think it makes sense to have this core functionality directly supported in the fmf command instead of introducing a new command line tool. I suggest to use the
I also agree with moving the search/prune functionality out of the cli module. I'll work on merging/adjusting your changes soon. Just some hints for next pull requests: |
@psss thanks a lot. few notes here:
|
Thanks, Honza. Using data dictionary makes sense. I've moved the support for custom formatting to cli & base modules and merged to master. Please, check if everything works as expected. |
Usages
generic
fmf-output --key test --formatstring "dir:{} test:{}" --value "data.get('path') or name" --value "data['test']"`
avocado command line
echo avocado run `fmf-output --key test --formatstring "{}/{}/{}" --value "getcwd()" --value "data.get('path') or name" --value "data['test']"`
produces:beaker like line usage
echo bkr workflow-tomorrow `fmf-output --key test --formatstring "--task '{} /CoreOS/{}'" --value "data.get('params') or ''" --value "name"`
produces: