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

Conversation

Projects
None yet
1 participant
@jmchilton
Copy link
Member

jmchilton commented Dec 9, 2014

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)

jmchilton added some commits Dec 9, 2014

Have report template load external job json if specified in query.
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=.
Implement share_test command.
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

Merge pull request #40 from galaxyproject/prettier_reports
Implement share_test command.

@jmchilton jmchilton merged commit b227ca8 into master Dec 12, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

@jmchilton jmchilton deleted the prettier_reports branch Dec 17, 2014

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