在'hexx-null'gem中我有一个文件:
# lib/hexx/null.rb
module Hexx
class Null
# ...
end
end
RSpec规范文件是:
# spec/tests/null_spec.rb
describe Hexx::Null do
describe ".new" do
# ...
end
# ... etc.
end
然后我从gem root运行mutant:
$ mutant --include lib --require hexx-null --use rspec Hexx::Null
结果是:
Mutant configuration:
Matcher: #<Mutant::Matcher::Config match_expressions=[<Mutant::Expression: Hexx::Null>] subject_ignores=[] subject_selects=[]>
Integration: rspec
Expect Coverage: 100.00%
Jobs: 8
Includes: ["lib"]
Requires: ["hexx-null"]
Subjects: 0
Mutations: 0
Kills: 0
Alive: 0
Runtime: 0.05s
Killtime: 0.00s
Overhead: Inf%
Coverage: 0.00%
Expected: 100.00%
Active subjects: 0
似乎突变体没有发现任何例子,但为什么?