enum Spectator::RunFlags

Overview

Toggles indicating how the test spec should execute.

Defined in:

spectator/run_flags.cr

Enum Members

FailFast = 1

Indicates whether the test should abort on first failure.

FailBlank = 2

Indicates whether the test should fail if there are no examples.

DryRun = 4

Indicates whether the test should be done as a dry-run. Examples won't run, but the output will show that they did.

Randomize = 8

Indicates whether examples run in a random order.

Profile = 16

Indicates whether timing information should be generated.

None = 0
All = 31

Instance Method Summary

Instance methods inherited from class Object

should(matcher : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall U
should(matcher, message = nil, *, _file = __FILE__, _line = __LINE__)
should
, should_eventually(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_eventually, should_never(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_never, should_not(matcher : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall U
should_not(matcher : Spectator::Matchers::NilMatcher, message = nil, *, _file = __FILE__, _line = __LINE__)
should_not(matcher, message = nil, *, _file = __FILE__, _line = __LINE__)
should_not

Instance Method Detail

def dry_run? #

[View source]
def fail_blank? #

[View source]
def fail_fast? #

[View source]
def none? #

[View source]
def profile? #

[View source]
def randomize? #

[View source]