mutant 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +5 -1
- data/lib/mutant/integration/null.rb +30 -0
- data/lib/mutant/version.rb +1 -1
- data/mutant.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adb6a3a1731a9c1d8939c6ed36cb5696196bd296c02de6a2d372c8d14b4c33be
|
4
|
+
data.tar.gz: 8c5c7043e92cf944c5105c3d09bb8934a6038e8e575bf56aa437c93a867387f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79019875cbc30db995870efdfbed29c73aac0b0c5d428f4a4b5cb612ea9d0079ac9269bbf48c5dae810282eb5b7f73051d2fd47f960544d031b83f28688cf2dd
|
7
|
+
data.tar.gz: 5ee2665f9aea90396fd9227c876b139f1a3c54e388b515d0d7ab7eddff3c9def8b4fca0b9b83f497379f5a3946d9351299672e23fdd29a714e36eda6c5faa392
|
data/Changelog.md
CHANGED
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Mutant
|
4
|
+
class Integration
|
5
|
+
# Null integration that has no tests
|
6
|
+
class Null < self
|
7
|
+
# Available tests for integration
|
8
|
+
#
|
9
|
+
# @return [Enumerable<Test>]
|
10
|
+
def all_tests
|
11
|
+
EMPTY_ARRAY
|
12
|
+
end
|
13
|
+
|
14
|
+
# Run a collection of tests
|
15
|
+
#
|
16
|
+
# @param [Enumerable<Mutant::Test>] tests
|
17
|
+
#
|
18
|
+
# @return [Result::Test]
|
19
|
+
def call(tests)
|
20
|
+
Result::Test.new(
|
21
|
+
output: '',
|
22
|
+
passed: true,
|
23
|
+
runtime: 0.0,
|
24
|
+
tests: tests
|
25
|
+
)
|
26
|
+
end
|
27
|
+
|
28
|
+
end # Null
|
29
|
+
end # Integration
|
30
|
+
end # Mutant
|
data/lib/mutant/version.rb
CHANGED
data/mutant.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
14
14
|
|
15
15
|
gem.require_paths = %w[lib]
|
16
16
|
|
17
|
-
exclusion = `git ls-files -- lib/mutant/{minitest,
|
17
|
+
exclusion = `git ls-files -- lib/mutant/{integration/{minitest,rspec}.rb,minitest}`.split("\n")
|
18
18
|
|
19
19
|
gem.files = `git ls-files`.split("\n") - exclusion
|
20
20
|
gem.test_files = `git ls-files -- spec/{unit,integration}`.split("\n")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mutant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Schirp
|
@@ -280,6 +280,7 @@ files:
|
|
280
280
|
- lib/mutant/expression/namespace.rb
|
281
281
|
- lib/mutant/expression/parser.rb
|
282
282
|
- lib/mutant/integration.rb
|
283
|
+
- lib/mutant/integration/null.rb
|
283
284
|
- lib/mutant/isolation.rb
|
284
285
|
- lib/mutant/isolation/fork.rb
|
285
286
|
- lib/mutant/isolation/none.rb
|
@@ -626,7 +627,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
626
627
|
- !ruby/object:Gem::Version
|
627
628
|
version: '0'
|
628
629
|
requirements: []
|
629
|
-
rubygems_version: 3.0.
|
630
|
+
rubygems_version: 3.0.3
|
630
631
|
signing_key:
|
631
632
|
specification_version: 4
|
632
633
|
summary: Mutation testing tool for ruby under MRI and Rubinius
|