Description
In mswTestRunner.js, we check for the presence of metadata elements inserted by orchestrator code. We should similarly check for metadata elements inserted by evaluator code.
Most (but not necessarily all) of the required checks can be provided in integrationTest.js by
- Declaring standardMetaData
- Adding arguments expectedExtraMetadata and expectedMissingMetadata to evaluatorIntegrationTest
- Adding code to evaluatorIntegrationTest to check for the presence of metadata elements, probably in the code block starting with if ( expectedOutput !== null )
- Updating calls to evaluatorIntegrationTest as needed.
The above can mimic what's present in orchestrator code mswTestRunner.js.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- See above
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist