Skip to content

Commit

Permalink
Merge pull request galaxyproject#114 from simleo/docs_gen_test
Browse files Browse the repository at this point in the history
More detailed help on generating tests from a workflow invocation
  • Loading branch information
mvdbeek authored Jul 12, 2022
2 parents c860230 + 2520a17 commit 19e9aae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Binary file added static/wf-invocations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,15 @@ You can either write test cases by hand, or use a workflow invocation to generat

#### Generate test from a workflow invocation

Execute the workflow on your Galaxy server using the smallest input data you can generate.
Create a new directory under one of the directories that represent categories. If no category is suitable you can create a new category directory.
Name the directory that contains your workflow(s) appropriately, as it will become the name of the repository deployed to [iwc-workflows github organization](https://github.com/iwc-workflows).

Find the invocation id in the workflow invocation menu, then run
Execute the workflow on your Galaxy server using the smallest input data you can generate.
Go to the workflow invocations page (User > Workflow Invocations), open the most recent item and find the invocation id:

![Workflow Invocations GUI](../static/wf-invocations.png)

You will also need your Galaxy API key. To copy it, or generate it if you don't have one yet, go to User > Preferences > Manage API Key. Then run:

```
planemo workflow_test_init --from_invocation your_invocation_id_here --galaxy_url https://usegalaxy.eu/ --galaxy_user_key your_api_key_here
Expand Down

0 comments on commit 19e9aae

Please sign in to comment.