SpecificationResult.

SpecificationResult(int, bool, string, FailedSpecification[]) Constructor

Summary

Create result for combined multiple Specifications.

Syntax

[PublicAPI]
public SpecificationResult(int totalSpecificationsCount, bool overallResult, string trace, params FailedSpecification[] failedSpecifications)

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
totalSpecificationsCount int Count of all executed Specifications in chain.
overallResult bool Overall result returned by IsSatisfiedBy or IsNotSatisfiedBy method.
trace string

Trace message.

Should contains short identifier of executed Specifications and relation between them.

failedSpecifications FailedSpecification[]

List of failed Specifications.

For definition of "failed" see FailedSpecification.

Return Value

Type Description
void
GitHub