-
Notifications
You must be signed in to change notification settings - Fork 86
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
Concise planemo test output as plain text? #302
Comments
I see two ways to do this. We could add it to the Galaxy test framework along side the existing HTML output. Or, we can render the JSON output in plain text with our preferred mark up. This seems preferable to me, as all the key fields seem to be here. |
Something like this @jmchilton? https://github.com/peterjc/planemo/tree/output_rst TODO: Capture |
Embedding stdout/stderr etc as literal blocks would be easier in markdown ( |
@peterjc could you re-use the existing templating infrastructure used in test HTML reports with say a "plain" type "report" just send to stdout? Might make tasks like formatting, conditionally displaying logs, etc easier. |
Looks good to me @peterjc. @erasche The templating may just be |
@jmchilton oh, that's right! I forgot it used string.Template, I just assumed jinja2. Yep @ more readable. |
I don't mind how this is implemented internally - if the existing HTML report templates could be adopted that's great. My little proof-of-principle hack has already reached the limit of ad-hoc markup generation. |
Will attack this and pretty shed_diff this weekend. |
See also #275, the default output from
planemo test
is very very verbose. e.g.https://travis-ci.org/peterjc/galaxy_mira/builds/79507686
For continuous integration needs (see #7) we need something much more concise.
Matching the existing
--test_output
(HTML),--test_output_xunit
, and--test_output_json
options, I would like--test_output_text
or similar - perhaps initially just holding the final terminal output, e.g.Another idea might be RST or MD output, especially if this includes the failure messages as literal blocks?
The text was updated successfully, but these errors were encountered: