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.

Instance Method Summary

Instance methods inherited from class Object

should(matcher, message = nil) should, should_eventually(matcher, message = nil) should_eventually, should_never(matcher, message = nil) should_never, should_not(matcher, message = nil) 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]