QuantumKatas icon indicating copy to clipboard operation
QuantumKatas copied to clipboard

Enable multicell solution tests in CHSHGame Workbook

Open Manvi-Agrawal opened this issue 1 year ago • 0 comments

Background

  • In #539 , we excluded tasks in CHSHGame workbook because some tasks required implementing two code cells at once before running the test, so the first of the cells implemented is guaranteed to fail.

Approach

  • We can enable those tests in the workbook by using raises-exception cell tag for tests that are guaranteed to fail. Because this cell tag ignores any exceptions encountered during the cell execution.
  • However, we can only enable the Workbook tests. Kindly refer to #806 for more details.

Validation

  • Tried running validate-notebooks.ps1 script for CHSH Game Workbook after the changes in PR and it executed successfully on the local machine.

Manvi-Agrawal avatar Jul 19 '22 16:07 Manvi-Agrawal