micro_test 0.1.6 → 0.1.7
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/bin/mt +5 -5
- data/lib/micro_test/runner.rb +1 -1
- metadata +1 -1
data/bin/mt
CHANGED
@@ -51,12 +51,12 @@ if MicroTest::PRY
|
|
51
51
|
require "pry-stack_explorer"
|
52
52
|
# require "pry-exception_explorer"
|
53
53
|
Pry.config.hooks.add_hook :before_session, :print_instructions do
|
54
|
-
puts "".rjust(
|
55
|
-
puts "
|
56
|
-
puts
|
54
|
+
puts "".rjust(80, "-")
|
55
|
+
puts "#{MicroTest::Runner.current_test} #{red "FAIL"}"
|
56
|
+
puts
|
57
57
|
puts "Type #{yellow "up"} to see the line that failed... then"
|
58
|
-
puts " #{magenta "whereami 10"} for more context
|
59
|
-
puts " #{magenta "edit-method"} to make the fix
|
58
|
+
puts " #{magenta "whereami 10"} for more context"
|
59
|
+
puts " #{magenta "edit-method"} to make the fix"
|
60
60
|
end
|
61
61
|
# EE.enabled = true
|
62
62
|
# EE.intercept do |frame , ex|
|
data/lib/micro_test/runner.rb
CHANGED