Skip to content

Add integration test for rbc all pipeline stage handoff #289

@nx10

Description

@nx10

Summary

The rbc all pipeline chains anatomical, functional, metrics, and QC stages. Currently there is no integration test that runs this full chain end-to-end, which allowed #287 (functional stage failing to find anatomical derivatives) to go undetected.

Proposed tests

  1. Smoke test: Run all.run() on tests/data/ds000001 with Docker runner, assert it completes without errors
  2. Stage handoff verification: After rbc all completes, verify that derivative files from each stage exist in the output directory (desc-brain T1w, desc-preproc bold, metrics, QC files)
  3. Standalone equivalence: Run rbc anat then rbc func separately and compare outputs to rbc all, verifying the in-memory handoff produces identical results to the disk round-trip path

These require Docker (@pytest.mark.integration) and a test dataset. Test 1 could be @pytest.mark.slow since it runs the full pipeline.

Context

Follow-up from #287. Unit tests for the fix were added in that PR; this issue covers the integration layer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions