XMLWordPrintable

#### Details

• Type: Improvement
• Status: Done
• Resolution: Done
• Fix Version/s: None
• Component/s:
• Labels:
• Story Points:
6
• Sprint:
AP S21-3 (February), AP S21-4 (March)
• Team:

#### Description

DM-22599 created a test framework for validating many parts of a PipelineTask, including its normal inputs and outputs. However, it does not support InitInputs or InitOutputs. Add analogous test methods for these connections.

#### Activity

Hide
Krzysztof Findeisen added a comment -

Deferring this until we get some more user experience with the existing code. InitOutputs could probably be handled much like Outputs (see the current assertValidOutput), but I'm not sure about the best way to handle InitInputs. The main thing that can go wrong there is a bug in any optional inputs, or a mismatch between what the config thinks is needed and what the task code assumes.

Show
Krzysztof Findeisen added a comment - Deferring this until we get some more user experience with the existing code. InitOutputs could probably be handled much like Outputs (see the current assertValidOutput), but I'm not sure about the best way to handle InitInputs. The main thing that can go wrong there is a bug in any optional inputs, or a mismatch between what the config thinks is needed and what the task code assumes.
Hide
John Parejko added a comment -

One small comment, otherwise this looks useful and I'm now thinking about how to apply it to the gen3 jointcal code.

Show
John Parejko added a comment - One small comment, otherwise this looks useful and I'm now thinking about how to apply it to the gen3 jointcal code.

#### People

Assignee:
Krzysztof Findeisen
Reporter:
Krzysztof Findeisen
Reviewers:
John Parejko
Watchers:
John Parejko, Krzysztof Findeisen