mercredi 21 janvier 2015

Automation Testing: Which of the following is better approach to assert a value


Assert.True(obj.isResourceAvailable())


OR



Boolean resIsAvailable = obj.isResourceAvailable() ;
Assert.True(resIsAvailable);


Is it better to declare a boolean variable explicitly?


Aucun commentaire:

Enregistrer un commentaire