//Trial Mode
QualityLogic quality = new QualityLogic();
//Licensed Mode
//QualityLogic quality = new QualityLogic("User Name from Receipt", "License Key from Receipt");
//Test using this open source project: https://github.com/GregFinzer/Compare-Net-Objects
QualityResult qualityResult =
quality.GetQualityViolationsForDirectory(@"c:\_git\Compare-Net-Objects\Compare-Net-Objects");
//Fail test if there are quality violations
if (qualityResult.QualityViolations.Count > 0)
Assert.Fail(quality.ExportViolationsToString(qualityResult));