Module: Gemmy::Tests
- Defined in:
- lib/gemmy/tests.rb,
lib/gemmy/tests/patch_test.rb,
lib/gemmy/tests/component_tests.rb
Overview
Test out the gem Can be called from the command line: gemmy test
Defined Under Namespace
Modules: ComponentTests, PatchTests
Constant Summary collapse
- TestSets =
[]
Class Method Summary collapse
Class Method Details
.run ⇒ Object
7 8 9 |
# File 'lib/gemmy/tests.rb', line 7 def self.run TestSets.each &method(:run_test_class) end |
.run_test_class(klass) ⇒ Object
11 12 13 14 |
# File 'lib/gemmy/tests.rb', line 11 def self.run_test_class(klass) klass.run puts "#{klass} passed".green end |