nextflow-test-to-galaxy-test-plan
Translate Nextflow test evidence into a Galaxy workflow test plan. The output is a reviewable YAML handoff conforming to galaxy-workflow-test-plan, not a concrete tests-format file: preserve profile, fixture, snapshot, ignored-file, expected-output, and rationale provenance so implement-galaxy-workflow-test can author the final Galaxy test artifact with the right labels and assertions. Because this plan is translated from real nf-test evidence, set source.derived_from: test-evidence.
Set each assertion’s evidence by where its expected value came from. Use test-evidence only for a value translated from an upstream assertion, checksum, or expected file. Use fixture-derived for a value measured from the upstream fixture bytes, and intent for one read from a wrapper XML or the translated workflow’s step state. A snapshot md5 token translated to checksum is test-evidence. A snapshot capture that records only names or paths (stable_name, .nftignore-pruned) carries no expected content: author those assertions as fixture-derived or intent, and when a test case ends up with no test-evidence assertions, record a warnings[] entry with code no-upstream-expected-outputs.
Consume the candidate selected by summarize-nextflow; do not re-rank profiles here. Use nextflow-test-case-selection to preserve whether that case is primary coverage, a topology bootstrap, or reference-scale evidence, and to keep deferred science branches visible rather than presenting one translated test as exhaustive.