10Qbit interview question

How would you run custom testcases around a Code