protected override void AssertContentNotContainsEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response content ", $"does not contain {arg.ActionValue}.");
Exemple #2
0
 protected virtual void AssertContentTypeEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected override void AssertContentEncodingEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response Cache-Info header ", $"is equal to {arg.ActionValue}.");
Exemple #4
0
 protected override void AssertCookieExistsEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response ", $"cookie {arg.ActionValue} exists.");
Exemple #5
0
 protected virtual void AssertResponseHeaderEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected override void AssertResultNotEqualsEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response content ", $"is not equal to {arg.ActionValue}.");
 protected override void AssertSuccessStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response status code ", "is successfull.");
Exemple #8
0
 protected virtual void AssertCookieExistsEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
Exemple #9
0
 protected virtual void AssertSchemaEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
Exemple #10
0
 protected override void AssertSuccessStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response status code ", "is successfull.");
Exemple #11
0
 protected override void AssertSchemaEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response ", "is compatible to specified schema.");
Exemple #12
0
 protected override void AssertStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response status code ", $"is equal to {arg.ActionValue}.");
Exemple #13
0
 protected override void AssertResultEqualsEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response content ", $"is equal to {arg.ActionValue}.");
Exemple #14
0
 protected override void AssertExecutionTimeUnderEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response execution time ", $"is under {arg.ActionValue}.");
 protected override void AssertCookieExistsEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response ", $"cookie {arg.ActionValue} exists.");
Exemple #16
0
 protected virtual void AssertExecutionTimeUnderEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected override void AssertExecutionTimeUnderEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response execution time ", $"is under {arg.ActionValue}.");
Exemple #18
0
 protected virtual void AssertResultNotEqualsEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected override void AssertStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response status code ", $"is equal to {arg.ActionValue}.");
Exemple #20
0
 protected virtual void AssertStatusCodeEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected override void AssertSchemaEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response ", "is compatible to specified schema.");
Exemple #22
0
 protected override void AssertContentContainsEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response content ", $"contains {arg.ActionValue}.");