Method | Description | |
---|---|---|
SetAreEqualsMethod ( TestFrameworkAreEqualsMethod areEqualsMethod ) : |
Configure how to call AreEquals in the unit testing framework of your choice. Only set this field if you are using the Stateprinter.Assert functionality.
|
|
SetAssertMessageCreator ( CreateAssertMessageCallback assertMessageCreator ) : |
Set the method to be called when an assert message is to be created
|
|
SetAutomaticTestRewrite ( TestRewriteIndicator indicator ) : |
Evaluate the function for each failing test. Your function can rely on anything such as an environment variable or a file on the file system. If you only want to do this evaluation once pr. test suite execution you should wrap your function in a Lazy
|
|
TestingBehaviour ( |
public SetAreEqualsMethod ( TestFrameworkAreEqualsMethod areEqualsMethod ) : |
||
areEqualsMethod | TestFrameworkAreEqualsMethod | |
return |
public SetAssertMessageCreator ( CreateAssertMessageCallback assertMessageCreator ) : |
||
assertMessageCreator | CreateAssertMessageCallback | |
return |
public SetAutomaticTestRewrite ( TestRewriteIndicator indicator ) : |
||
indicator | TestRewriteIndicator | |
return |
public TestingBehaviour ( |
||
configuration | ||
return | System |