コード例 #1
0
 public void CaptureRequirementIfTruePassed()
 {
     BaseTestSite.CaptureRequirementIfIsTrue(true, 7, "The value should be true.");
 }
コード例 #2
0
 public void CaptureRequirementIfTrueFailed()
 {
     BaseTestSite.CaptureRequirementIfIsTrue(false, 8, "The value should be true.");
 }
コード例 #3
0
 public void CaptureRequirementSameRequirementIdDifferentDescription()
 {
     BaseTestSite.CaptureRequirementIfAreEqual(1, 1, 28, "The two values should be equal.");
     BaseTestSite.CaptureRequirementIfIsTrue(true, 28, "The value should be true.");
 }
コード例 #4
0
 public void CaptureRequirementSkipExceptionalRequirements()
 {
     BaseTestSite.CaptureRequirementIfAreEqual(2, 1, 26, "The two values should be equal.");
     BaseTestSite.CaptureRequirementIfIsTrue(false, 27, "The value should be true.");
 }
コード例 #5
0
 public void CaptureRequirementSkipProductRequirement()
 {
     BaseTestSite.CaptureRequirementIfIsTrue(false, 24, "The value should be true.", RequirementType.Product);
 }
コード例 #6
0
 public void CaptureRequirementSkipShouldRequirement()
 {
     BaseTestSite.CaptureRequirementIfIsTrue(false, 23, "The value should be true.", RequirementType.Should);
 }
コード例 #7
0
 public void CaptureRequirementSkipMustRequirement()
 {
     BaseTestSite.CaptureRequirementIfIsTrue(false, 22, "The value should be true.", RequirementType.Must);
 }