micro_test 0.3.2 → 0.3.3
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.
- data/README.md +2 -0
- data/bin/mt +8 -1
- data/lib/micro_test/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -103,4 +103,6 @@ and can be introduced to existing projects with minimal effort.
|
|
103
103
|
|
104
104
|
[See the wiki](https://github.com/hopsoft/micro_test/wiki) to troubleshoot or dig into more advanced topics.
|
105
105
|
|
106
|
+
*Be sure to checkout [MicroMock](https://github.com/hopsoft/micro_mock) for a lightweight mocking solution.*
|
107
|
+
|
106
108
|
Start testing today!
|
data/bin/mt
CHANGED
@@ -129,7 +129,14 @@ if options[:pry]
|
|
129
129
|
Pry.config.hooks.add_hook :before_session, :print_instructions do |_, _, _pry_|
|
130
130
|
_pry_.commands.create_command "line", "View the assert line that failed." do
|
131
131
|
def process
|
132
|
-
|
132
|
+
stack = caller.dup
|
133
|
+
stack.shift while !(stack[0] =~ /pry-nav/)
|
134
|
+
count = 0
|
135
|
+
stack.each do |line|
|
136
|
+
break if line =~ /test_wrapper/
|
137
|
+
count += 1
|
138
|
+
end
|
139
|
+
_pry_.run_command "up #{count}"
|
133
140
|
end
|
134
141
|
end
|
135
142
|
|
data/lib/micro_test/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: micro_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: os
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
version: '0'
|
84
84
|
requirements: []
|
85
85
|
rubyforge_project:
|
86
|
-
rubygems_version: 1.8.
|
86
|
+
rubygems_version: 1.8.24
|
87
87
|
signing_key:
|
88
88
|
specification_version: 3
|
89
89
|
summary: MicroTest is Ruby's no-nonsense testing framework. Its also known as microtest,
|