rspec-big-infer 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/rspec/big/infer/formatter.rb +2 -1
- data/lib/rspec/big/infer/version.rb +2 -2
- data/lib/rspec/big/infer.rb +2 -1
- data/rspec-big-infer.gemspec +1 -1
- data/sig/rspec/big/infer.rbs +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78e761a682c1b7714b753d094a6fc3243828b036f5ae1f2d9e8d1b54dc0e1a08
|
4
|
+
data.tar.gz: 5b94f872e3112278687d9af0274b04cc1ea752f8b7527655ba053e19504cd6fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aeda066d27c1538ca9a4ab999654cb34f22b87c69800db4e23b23c640dee232e3270e97969e5873b093b754bdab23310c2674670c674dca0f3fe2bdaae32daf
|
7
|
+
data.tar.gz: bd4d76f00a3b41e896722539ce40eb0ce060dc6ff361e0b44295612d0240de6b7ab1fda46808cced918ab2a41b3d4404718bba76d3c6f779390a6e6ffe08e125
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# RSpec::Big::Infer
|
2
2
|
|
3
3
|
`rspec-big-infer` is a set of helper tools that help working (testing) with big projects.
|
4
4
|
|
@@ -12,7 +12,7 @@ bundle add rspec-big-infer
|
|
12
12
|
|
13
13
|
## Usage - infer which tests to run based on the changes in the codebase
|
14
14
|
|
15
|
-
1. Generate tests map with: `bundle exec rspec --dry-run --format
|
15
|
+
1. Generate tests map with: `bundle exec rspec --dry-run --format RSpec::Big::Infer::Formatter --out tmp/rspec_infer.json`
|
16
16
|
* It works based on `described_class` and `const_source_location`
|
17
17
|
2. (optional) Printout tests that will be run based on infer: `git diff --name-only --diff-filter=D origin/develop | bundle exec rspec-big-infer tmp/rspec_infer.json`
|
18
18
|
3. Run tests with `bundle exec rspec $(git diff --name-only --diff-filter=D origin/develop | bundle exec rspec-big-infer tmp/rspec_infer.json)` to run tests based on the changes in the codebase.
|
data/lib/rspec/big/infer.rb
CHANGED
data/rspec-big-infer.gemspec
CHANGED
@@ -4,7 +4,7 @@ require_relative "lib/rspec/big/infer/version"
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "rspec-big-infer"
|
7
|
-
spec.version =
|
7
|
+
spec.version = RSpec::Big::Infer::VERSION
|
8
8
|
spec.authors = ["Patryk Ptasinski"]
|
9
9
|
spec.email = ["patryk@ipepe.pl"]
|
10
10
|
|
data/sig/rspec/big/infer.rbs
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-big-infer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patryk Ptasinski
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-05-
|
10
|
+
date: 2025-05-22 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rspec-core
|