lundi 13 mai 2019

How to raise automatic hardware error while testing

I am writing some tests to test my machine

Eg. If hardware is enabled(input), and isEnabled(output) return true then my output will be valid.

if error comes then output will be invalid and isEnabled will return false.

A reset(input) can be called to handle error.

But there is problem while testing how to raise hardware error(Eg. sensor not working) automatically so i can handle it?

Aucun commentaire:

Enregistrer un commentaire