Report amount of total mutations in progress

This commit is contained in:
Markus Schirp 2014-07-16 09:35:35 +00:00
parent 6872deb205
commit 4a5c708ffb
2 changed files with 4 additions and 1 deletions

View file

@ -21,6 +21,7 @@ module Mutant
visit(config)
info 'Available Subjects: %d', object.matchable_scopes.length
info 'Subjects: %d', object.subjects.length
info 'Mutations: %d', object.mutations.length
end
end # Progress

View file

@ -33,7 +33,8 @@ describe Mutant::Reporter::CLI do
class: Mutant::Env,
matchable_scopes: matchable_scopes,
config: config,
subjects: subjects
subjects: subjects,
mutations: subjects.flat_map(&:mutations)
)
end
@ -120,6 +121,7 @@ describe Mutant::Reporter::CLI do
Expect Coverage: 100.00%
Available Subjects: 10
Subjects: 1
Mutations: 1
REPORT
end
end