4
어제는이 article의 돌연변이 테스트에서 비틀 거 렸고 immediatly elasticrepo와 시도해 보았습니다. 나는 elasticsearch에서 github를 색인화하려고합니다.돌연변이 검사 : 돌연변이 체를 알아 낸 사람 있습니까?
는 Unfurtunatly 내가하지 않기 때문에 내가 모르는 뭔가가있어 보인다 어떤 그래서 "처치 : RSpec에"이라고 제로 돌연변이 :
[email protected]:~/rails/github/elasticrepo$ mutant -I lib/elasticrepo -r repo_subset --rspec-dm2 ::RepoSubset
Mutant configuration:
Matcher: #<Mutant::Matcher::ObjectSpace scope_name_pattern=/\ARepoSubset(\z|::)/>
Filter: Mutant::Mutation::Filter::ALL
Strategy: #<Mutant::Strategy::Rspec::DM2>
subjects: 0
mutations: 0
noop_fails: 0
kills: 0
alive: 0
mtime: 0.00s
rtime: 0.01s
[email protected]:~/rails/github/elasticrepo$
지금은이 경로에 관련이있을 수 있다고 생각
다음
[email protected]:~/rails/github/elasticrepo$ ls -l lib/elasticrepo
total 16
-rw-rw-r-- 1 lsoave lsoave 333 Jun 8 16:07 extractor.rb
-rw-rw-r-- 1 lsoave lsoave 1960 Jun 8 16:07 indexer.rb
-rw-rw-r-- 1 lsoave lsoave 1330 Jun 8 16:07 repo_subset.rb
-rw-rw-r-- 1 lsoave lsoave 43 Jun 1 12:28 version.rb
[email protected]:~/rails/github/elasticrepo$
여기가 (네임 스페이스의 측면에서) 테스트하는 클래스의 "구조"입니다 : 여기 그들은이 경우에
[email protected]:~/rails/github/elasticrepo$ head -2 lib/elasticrepo/repo_subset.rb
module Elasticrepo
class RepoSubset
[email protected]:~/rails/github/elasticrepo$
는 17,451,515,
전체 코드가 돌연변이에 대한 테스트 자체 주시기 바랍니다 : elasticrepo
을 그것은 가능한 일이 있기 때문에 responce 라인의 정규식 잘못이기도 :
Matcher: #<Mutant::Matcher::ObjectSpace scope_name_pattern=/\ARepoSubset(\z|::)/>
는 사람이에 도와 드릴까요?
대단히 감사합니다. 2.0.0 이식을 기대합니다. –
2.0.0 지원은 0.3 계열의 최신 베타 릴리스입니다. – mbj
네, 위대한 일을 보았습니다 Mr mbj :-) –