mercredi 22 mars 2017

How to create a unit test on a c# calculator form?

I have created a form with two text boxes and a button to add the values entered in the text boxes. This result is saved as a variable and added to a result label.

My question is how to create a unit test for this? That would for instance add a number to each text box and check that the label was the correct result after clicking the add button?

Aucun commentaire:

Enregistrer un commentaire