rspec-debugging 0.0.3 → 0.0.4
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 -0
- data/Gemfile.lock +1 -1
- data/README.md +27 -4
- data/lib/rspec/debugging/debug_it.rb +1 -0
- data/lib/rspec/debugging/version.rb +1 -1
- data/rspec-debugging.gemspec +1 -1
- metadata +3 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18dc39f0ec372fefa54e665b0f8fa941ee58d2e5437d0f7baf165411a7ae3706
|
4
|
+
data.tar.gz: bd59263041e3197220b04c1cda058e1d57fe91eb86ed4a50d461c06c02620c98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1a1432398be62a3f54c4c3b198b94b6a69ac9f1524a36f25026ff53bfd5af7ec17dcb0b64c2f01f6b3886492055121f961216f5a818cd37ca2bfbf831fed4cc
|
7
|
+
data.tar.gz: eda816fa9f998da2aaf4075010af9e06bafca4b2c308609a2285e0fc202c325284e77eefa5d39ddca787f4a18f7b4ada05265955c08caa2bdd5bc14969765f90
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -6,6 +6,7 @@ rspec-debugging
|
|
6
6
|
|
7
7
|
Tools to make debugging RSpec tests easier.
|
8
8
|
|
9
|
+
<br />
|
9
10
|
|
10
11
|
Debug broken specs
|
11
12
|
----
|
@@ -19,6 +20,12 @@ describe MySpec do
|
|
19
20
|
end
|
20
21
|
```
|
21
22
|
|
23
|
+
or set an environment variable to run and debug all specs:
|
24
|
+
```
|
25
|
+
RSPEC_DEBUGGING=true bundle exec rspec
|
26
|
+
```
|
27
|
+
|
28
|
+
<br />
|
22
29
|
|
23
30
|
Stop and explore
|
24
31
|
----
|
@@ -30,6 +37,7 @@ describe MySpec do
|
|
30
37
|
end
|
31
38
|
```
|
32
39
|
|
40
|
+
<br />
|
33
41
|
|
34
42
|
Got let variables?
|
35
43
|
----
|
@@ -60,21 +68,27 @@ describe RSpec::Debugging do
|
|
60
68
|
|
61
69
|
...add a hundred lines of legacy code and then solve for `a`. Or use tooling :)
|
62
70
|
|
71
|
+
<br />
|
72
|
+
|
73
|
+
----
|
74
|
+
|
63
75
|
### let_variables
|
64
|
-
*
|
76
|
+
* list of variables defined by RSpec `let`
|
65
77
|
|
66
78
|
|
67
79
|
### let_variable_initialized?(name)
|
68
|
-
*
|
80
|
+
* whether a specified let variable been initialized
|
69
81
|
|
70
82
|
|
71
83
|
### let_variable_get(name)
|
72
|
-
*
|
84
|
+
* the value of a let variable, if initialized
|
73
85
|
|
74
86
|
### let_variable_values(name)
|
75
|
-
*
|
87
|
+
* all locations where the specified variable has been defined or redefined, and it's value at each location
|
76
88
|
|
77
89
|
|
90
|
+
<br />
|
91
|
+
|
78
92
|
----
|
79
93
|
## Contributing
|
80
94
|
|
@@ -86,3 +100,12 @@ Yes please :)
|
|
86
100
|
1. Commit your changes (`git commit -am 'awesome new feature'`)
|
87
101
|
1. Push your branch (`git push origin my-feature`)
|
88
102
|
1. Create a Pull Request
|
103
|
+
|
104
|
+
|
105
|
+
<br />
|
106
|
+
|
107
|
+
----
|
108
|
+
### Inspired by
|
109
|
+
|
110
|
+
- [@alexdean](https://github.com/alexdean)
|
111
|
+
- [rspec-debug](https://github.com/ko1/rspec-debug)
|
data/rspec-debugging.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-debugging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Pepper
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-
|
10
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rspec-expectations
|
@@ -67,7 +66,6 @@ dependencies:
|
|
67
66
|
- !ruby/object:Gem::Version
|
68
67
|
version: '0'
|
69
68
|
description: Tools to improve debugging in RSpec
|
70
|
-
email:
|
71
69
|
executables: []
|
72
70
|
extensions: []
|
73
71
|
extra_rdoc_files: []
|
@@ -87,7 +85,6 @@ homepage: https://github.com/dpep/rspec-debugging
|
|
87
85
|
licenses:
|
88
86
|
- MIT
|
89
87
|
metadata: {}
|
90
|
-
post_install_message:
|
91
88
|
rdoc_options: []
|
92
89
|
require_paths:
|
93
90
|
- lib
|
@@ -102,8 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
99
|
- !ruby/object:Gem::Version
|
103
100
|
version: '0'
|
104
101
|
requirements: []
|
105
|
-
rubygems_version: 3.
|
106
|
-
signing_key:
|
102
|
+
rubygems_version: 3.6.3
|
107
103
|
specification_version: 4
|
108
104
|
summary: Tools to improve debugging in RSpec
|
109
105
|
test_files: []
|