Add a helper so all the relevant fields are defined in one place in the spec.
Reasoning
I want to focus on the Task's output and how we parse it.
Unfortunately, the success, output, and other parameters are scattered around the spec file.
I added a helper method so all of the declarations for a test are inside the test.
This made the link from the input to the output more obvious for me.
Overview
Add a helper so all the relevant fields are defined in one place in the spec.
Reasoning
I want to focus on the Task's output and how we parse it.
Unfortunately, the
success
,output
, and other parameters are scattered around the spec file.I added a helper method so all of the declarations for a test are inside the test. This made the link from the input to the output more obvious for me.
No Changes
This did not add or change any tests