/// <summary> /// All the test logic must be placed here. Use context parameter to access the API. /// </summary> /// <param name="context">A single interface to access API.</param> public override void Process(ITestContext context) { // list of all categories selected by user via UI var categories = context.Categories; if (categories.Contains(Category.Production)) { // context.Passed is optional and should be used only if test is passed with special message context.Passed("Nothing to check if it is production environment"); return; } CheckConfiguration(context); CheckWebDatabase(context); CheckLogs(context); CheckIIS(context); }