jeudi 23 février 2017

Testing if class/solution code contains string

Is it possible to test if my code contains for example "{ get; set; }". I have a BaseClass of { get; set; } syntax and I need a test to make sure that the code only contains my BaseClass of the getsetter. The test would fail if it found a { get; set; } and I would know to replace the code with my BaseClass code.

Aucun commentaire:

Enregistrer un commentaire