Crowbar::Campaign::Target
Represents a targeted test endpoint with corpus seeds, mutation rules, expected non-fatal exception types, and execution boundary.
Constructors
new(name : String, category : TargetCategory = TargetCategory::Custom, samples : Array(Buffer) = [] of Buffer, rules : Array(Rule) = [] of Rule, expected_errors : Array(Exception.class) = [] of Exception.class, timeout : Time::Span = 500.milliseconds, execution : Proc(Buffer, Nil) | Nil = nil)
SourceInstance methods
add_rule(rule : Rule) : Nil
Sourcecategory
Sourcecategory=(category : TargetCategory)
Sourceexecution
Sourceexpected_errors
Sourcemutator_pool
Sourcemutator_pool=(mutator_pool : MutatorPool)
Sourcename
Sourcepattern
Sourcepattern=(pattern : Pattern)
Sourcerules
Sourcesamples
Sourcetimeout
Sourcetimeout=(timeout : Time::Span)
Source