10Qbit Interview Question

How would you run custom testcases around a Code