enum
Spectator::RunFlags
Overview
Toggles indicating how the test spec should execute.
Defined in:
spectator/run_flags.crEnum 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
-
#dry_run?
Returns
trueif this enum value containsDryRun -
#fail_blank?
Returns
trueif this enum value containsFailBlank -
#fail_fast?
Returns
trueif this enum value containsFailFast - #none?
-
#profile?
Returns
trueif this enum value containsProfile -
#randomize?
Returns
trueif this enum value containsRandomize
Instance methods inherited from class Object
should(matcher : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall Ushould(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