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

Workflow test generator #102

Open
ilveroluca opened this issue May 11, 2021 · 0 comments
Open

Workflow test generator #102

ilveroluca opened this issue May 11, 2021 · 0 comments
Labels
proposal Ideas to be discussed for future integration

Comments

@ilveroluca
Copy link
Member

ilveroluca commented May 11, 2021

Write a workflow test generator:

  • would have to be specific to particular workflow engine
  • a test generator for Galaxy workflows seems feasible. Other workflow engines?
  • it would work for workflows that "start" with tools that have tests in the tool shed
  • procedure:
    lead_tools = { t | $t \in W$ and t processes workflow input data }

If all lead_tools:

  1. are in tool shed
  2. contain tests in tool shed then
  • collect input datasets from tool tests
  • Iterate over tool input datasets (and their combinations, if more than one tool)
    • execute workflow with tool test inputs
    • if workflow executes successfully, collect output as expected output to form a workflow test
  • Result should be a set of workflow tests

The tests can be presented to workflow owner for approval.
If approved:

  • generate new Workflow Testing RO-crate by extending the original one with the addition of the new tests
  • provide it for download.

We couldn't at this stage adopt the new WTRO-crate directly because we're not yet equipped to execute tests.
Thus, user would have to

  • extract tests from RO-crate
  • Implement test execution somewhere, somehow
  • Register new updated RO-crate that tells LM how to monitor those tests

This could also be implemented in an external tool (e.g., the LM cli) and later semi-automated through the maintenance plugin concept (#103).

@ilveroluca ilveroluca added the proposal Ideas to be discussed for future integration label May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Ideas to be discussed for future integration
Projects
None yet
Development

No branches or pull requests

1 participant