SCIEX interview question

How would you test a microcontroller with digital/analog I/O? Write a test plan.