SpecificationResult.

SpecificationResult(bool, string, FailedSpecification[]) Constructor

Summary

Create result with trace, for single Specification.

Syntax

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

Attributes

Type Description
PublicAPI

Parameters

Name Type Description
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