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

Implement share_test command. #40

Merged
merged 2 commits into from
Dec 12, 2014
Merged

Implement share_test command. #40

merged 2 commits into from
Dec 12, 2014

Conversation

jmchilton
Copy link
Member

Make the tool test json blob produced by default. Add new command share_test - to publish this blob to gist (requires setting github credentials in ~/.planemo.yml) and produce a sharable URL to rich HTML report based on these results. Used to link to tophat tool tests in this pull request.

    % planemo test
    ...
    All 1 test(s) executed passed.
    simple_constructs[0]: passed
    % planemo share_test
    File published to Github Gist.
    Raw URL: https://gist.githubusercontent.com/jmchilton/457933350b28a3d1e752/raw/3888694aa109e0928a93ddd414b9acadaf578dc5/index
    Share results with URL: http://galaxyproject.github.io/planemo/tool_test_viewer.html?test_data_url=https://gist.githubusercontent.com/jmchilton/457933350b28a3d1e752/raw/3888694aa109e0928a93ddd414b9acadaf578dc5/index
    Embed results with markdown: [View Tool Test Results](http://galaxyproject.github.io/planemo/tool_test_viewer.html?test_data_url=https://gist.githubusercontent.com/jmchilton/457933350b28a3d1e752/raw/3888694aa109e0928a93ddd414b9acadaf578dc5/index)

Useful in powering a single application that can build many reports depending on the data - http://galaxyproject.github.io/planemo/tool_test_viewer.html?test_data_url=.
Make the tool test json blob produced by default. Add new command share_test - to publish this blob to gist (requires setting github credentials in ~/.planemo.yml) and produce a sharable URL to rich HTML report based on these results.

```
    % planemo test
    ...
    All 1 test(s) executed passed.
    simple_constructs[0]: passed
    % planemo share_test
    File published to Github Gist.
    Raw URL: https://gist.githubusercontent.com/jmchilton/457933350b28a3d1e752/raw/3888694aa109e0928a93ddd414b9acadaf578dc5/index
    Share results with URL: http://galaxyproject.github.io/planemo/tool_test_viewer.html?test_data_url=https://gist.githubusercontent.com/jmchilton/457933350b28a3d1e752/raw/3888694aa109e0928a93ddd414b9acadaf578dc5/index
    Embed results with markdown: [View Tool Test Results](http://galaxyproject.github.io/planemo/tool_test_viewer.html?test_data_url=https://gist.githubusercontent.com/jmchilton/457933350b28a3d1e752/raw/3888694aa109e0928a93ddd414b9acadaf578dc5/index)
```
jmchilton added a commit that referenced this pull request Dec 12, 2014
@jmchilton jmchilton merged commit b227ca8 into master Dec 12, 2014
@jmchilton jmchilton deleted the prettier_reports branch December 17, 2014 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant