micronaut 0.2.9

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.
Files changed (79) hide show
  1. data/History.txt +15 -0
  2. data/LICENSE +45 -0
  3. data/README.markdown +66 -0
  4. data/RSPEC-LICENSE +23 -0
  5. data/Rakefile +78 -0
  6. data/VERSION.yml +4 -0
  7. data/bin/micronaut +4 -0
  8. data/examples/example_helper.rb +54 -0
  9. data/examples/lib/micronaut/behaviour_example.rb +351 -0
  10. data/examples/lib/micronaut/configuration_example.rb +133 -0
  11. data/examples/lib/micronaut/example_example.rb +67 -0
  12. data/examples/lib/micronaut/expectations/extensions/object_example.rb +146 -0
  13. data/examples/lib/micronaut/expectations/fail_with_example.rb +17 -0
  14. data/examples/lib/micronaut/expectations/wrap_expectation_example.rb +27 -0
  15. data/examples/lib/micronaut/formatters/base_formatter_example.rb +117 -0
  16. data/examples/lib/micronaut/formatters/documentation_formatter_example.rb +5 -0
  17. data/examples/lib/micronaut/formatters/progress_formatter_example.rb +29 -0
  18. data/examples/lib/micronaut/kernel_extensions_example.rb +13 -0
  19. data/examples/lib/micronaut/matchers/be_close_example.rb +52 -0
  20. data/examples/lib/micronaut/matchers/be_example.rb +298 -0
  21. data/examples/lib/micronaut/matchers/change_example.rb +360 -0
  22. data/examples/lib/micronaut/matchers/description_generation_example.rb +175 -0
  23. data/examples/lib/micronaut/matchers/eql_example.rb +35 -0
  24. data/examples/lib/micronaut/matchers/equal_example.rb +35 -0
  25. data/examples/lib/micronaut/matchers/has_example.rb +69 -0
  26. data/examples/lib/micronaut/matchers/have_example.rb +392 -0
  27. data/examples/lib/micronaut/matchers/include_example.rb +103 -0
  28. data/examples/lib/micronaut/matchers/match_example.rb +43 -0
  29. data/examples/lib/micronaut/matchers/matcher_methods_example.rb +78 -0
  30. data/examples/lib/micronaut/matchers/operator_matcher_example.rb +193 -0
  31. data/examples/lib/micronaut/matchers/raise_error_example.rb +348 -0
  32. data/examples/lib/micronaut/matchers/respond_to_example.rb +54 -0
  33. data/examples/lib/micronaut/matchers/satisfy_example.rb +36 -0
  34. data/examples/lib/micronaut/matchers/simple_matcher_example.rb +93 -0
  35. data/examples/lib/micronaut/matchers/throw_symbol_example.rb +125 -0
  36. data/examples/lib/micronaut/mocha_example.rb +29 -0
  37. data/examples/lib/micronaut/runner_example.rb +41 -0
  38. data/examples/lib/micronaut/world_example.rb +98 -0
  39. data/examples/lib/micronaut_example.rb +43 -0
  40. data/examples/resources/example_classes.rb +67 -0
  41. data/lib/micronaut.rb +40 -0
  42. data/lib/micronaut/behaviour.rb +217 -0
  43. data/lib/micronaut/configuration.rb +162 -0
  44. data/lib/micronaut/example.rb +112 -0
  45. data/lib/micronaut/expectations.rb +45 -0
  46. data/lib/micronaut/expectations/extensions/object.rb +92 -0
  47. data/lib/micronaut/expectations/handler.rb +51 -0
  48. data/lib/micronaut/expectations/wrap_expectation.rb +52 -0
  49. data/lib/micronaut/formatters.rb +12 -0
  50. data/lib/micronaut/formatters/base_formatter.rb +127 -0
  51. data/lib/micronaut/formatters/base_text_formatter.rb +139 -0
  52. data/lib/micronaut/formatters/documentation_formatter.rb +78 -0
  53. data/lib/micronaut/formatters/progress_formatter.rb +30 -0
  54. data/lib/micronaut/kernel_extensions.rb +11 -0
  55. data/lib/micronaut/matchers.rb +141 -0
  56. data/lib/micronaut/matchers/be.rb +204 -0
  57. data/lib/micronaut/matchers/be_close.rb +37 -0
  58. data/lib/micronaut/matchers/change.rb +148 -0
  59. data/lib/micronaut/matchers/eql.rb +26 -0
  60. data/lib/micronaut/matchers/equal.rb +26 -0
  61. data/lib/micronaut/matchers/generated_descriptions.rb +36 -0
  62. data/lib/micronaut/matchers/has.rb +19 -0
  63. data/lib/micronaut/matchers/have.rb +153 -0
  64. data/lib/micronaut/matchers/include.rb +80 -0
  65. data/lib/micronaut/matchers/match.rb +22 -0
  66. data/lib/micronaut/matchers/method_missing.rb +9 -0
  67. data/lib/micronaut/matchers/operator_matcher.rb +50 -0
  68. data/lib/micronaut/matchers/raise_error.rb +128 -0
  69. data/lib/micronaut/matchers/respond_to.rb +50 -0
  70. data/lib/micronaut/matchers/satisfy.rb +50 -0
  71. data/lib/micronaut/matchers/simple_matcher.rb +135 -0
  72. data/lib/micronaut/matchers/throw_symbol.rb +108 -0
  73. data/lib/micronaut/mocking/with_absolutely_nothing.rb +11 -0
  74. data/lib/micronaut/mocking/with_mocha.rb +15 -0
  75. data/lib/micronaut/mocking/with_rr.rb +24 -0
  76. data/lib/micronaut/rake_task.rb +84 -0
  77. data/lib/micronaut/runner.rb +60 -0
  78. data/lib/micronaut/world.rb +75 -0
  79. metadata +165 -0
@@ -0,0 +1,108 @@
1
+ module Micronaut
2
+ module Matchers
3
+
4
+ class ThrowSymbol #:nodoc:
5
+
6
+ def initialize(expected_symbol = nil, expected_arg=nil)
7
+ @expected_symbol = expected_symbol
8
+ @expected_arg = expected_arg
9
+ @caught_symbol = nil
10
+ end
11
+
12
+ def matches?(given_proc)
13
+ begin
14
+ if @expected_symbol.nil?
15
+ given_proc.call
16
+ else
17
+ @caught_arg = catch :proc_did_not_throw_anything do
18
+ catch @expected_symbol do
19
+ given_proc.call
20
+ throw :proc_did_not_throw_anything, :nothing_thrown
21
+ end
22
+ end
23
+ @caught_symbol = @expected_symbol unless @caught_arg == :nothing_thrown
24
+ end
25
+
26
+ # Ruby 1.8 uses NameError with `symbol'
27
+ # Ruby 1.9 uses ArgumentError with :symbol
28
+ rescue NameError, ArgumentError => e
29
+ raise e unless e.message =~ /uncaught throw (`|\:)([a-zA-Z0-9_]*)(')?/
30
+ @caught_symbol = $2.to_sym
31
+ ensure
32
+ if @expected_symbol.nil?
33
+ return !@caught_symbol.nil?
34
+ else
35
+ if @expected_arg.nil?
36
+ return @caught_symbol == @expected_symbol
37
+ else
38
+ # puts [@caught_symbol, @expected_symbol].inspect
39
+ # puts [@caught_arg, @expected_arg].inspect
40
+ return @caught_symbol == @expected_symbol && @caught_arg == @expected_arg
41
+ end
42
+ end
43
+ end
44
+
45
+ end
46
+
47
+ def failure_message
48
+ if @caught_symbol
49
+ "expected #{expected}, got #{@caught_symbol.inspect}"
50
+ else
51
+ "expected #{expected} but nothing was thrown"
52
+ end
53
+ end
54
+
55
+ def negative_failure_message
56
+ if @expected_symbol
57
+ "expected #{expected} not to be thrown"
58
+ else
59
+ "expected no Symbol, got :#{@caught_symbol}"
60
+ end
61
+ end
62
+
63
+ def description
64
+ "throw #{expected}"
65
+ end
66
+
67
+ private
68
+
69
+ def expected
70
+ @expected_symbol.nil? ? "a Symbol" : "#{@expected_symbol.inspect}#{args}"
71
+ end
72
+
73
+ def args
74
+ @expected_arg.nil? ? "" : " with #{@expected_arg.inspect}"
75
+ end
76
+
77
+ end
78
+
79
+ # :call-seq:
80
+ # should throw_symbol()
81
+ # should throw_symbol(:sym)
82
+ # should throw_symbol(:sym, arg)
83
+ # should_not throw_symbol()
84
+ # should_not throw_symbol(:sym)
85
+ # should_not throw_symbol(:sym, arg)
86
+ #
87
+ # Given no argument, matches if a proc throws any Symbol.
88
+ #
89
+ # Given a Symbol, matches if the given proc throws the specified Symbol.
90
+ #
91
+ # Given a Symbol and an arg, matches if the given proc throws the
92
+ # specified Symbol with the specified arg.
93
+ #
94
+ # == Examples
95
+ #
96
+ # lambda { do_something_risky }.should throw_symbol
97
+ # lambda { do_something_risky }.should throw_symbol(:that_was_risky)
98
+ # lambda { do_something_risky }.should throw_symbol(:that_was_risky, culprit)
99
+ #
100
+ # lambda { do_something_risky }.should_not throw_symbol
101
+ # lambda { do_something_risky }.should_not throw_symbol(:that_was_risky)
102
+ # lambda { do_something_risky }.should_not throw_symbol(:that_was_risky, culprit)
103
+ def throw_symbol(sym=nil)
104
+ Matchers::ThrowSymbol.new(sym)
105
+ end
106
+
107
+ end
108
+ end
@@ -0,0 +1,11 @@
1
+ module Micronaut
2
+ module Mocking
3
+ module WithAbsolutelyNothing
4
+
5
+ def _setup_mocks; end
6
+ def _verify_mocks; end
7
+ def _teardown_mocks; end
8
+
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,15 @@
1
+ require 'mocha/standalone'
2
+ require 'mocha/object'
3
+
4
+ module Micronaut
5
+ module Mocking
6
+ module WithMocha
7
+ include Mocha::Standalone
8
+
9
+ alias :_setup_mocks :mocha_setup
10
+ alias :_verify_mocks :mocha_verify
11
+ alias :_teardown_mocks :mocha_teardown
12
+
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,24 @@
1
+ require 'rr'
2
+
3
+ Micronaut.configuration.backtrace_clean_patterns.push(RR::Errors::BACKTRACE_IDENTIFIER)
4
+
5
+ module Micronaut
6
+ module Mocking
7
+ module WithRR
8
+ include RR::Extensions::InstanceMethods
9
+
10
+ def _setup_mocks
11
+ RR::Space.instance.reset
12
+ end
13
+
14
+ def _verify_mocks
15
+ RR::Space.instance.verify_doubles
16
+ end
17
+
18
+ def _teardown_mocks
19
+ RR::Space.instance.reset
20
+ end
21
+
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,84 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rake'
4
+ require 'rake/tasklib'
5
+
6
+ module Micronaut
7
+
8
+ class RakeTask < ::Rake::TaskLib
9
+
10
+ # Name of task. (default is :examples)
11
+ attr_accessor :name
12
+
13
+ # If true, requests that the specs be run with the warning flag set.
14
+ # E.g. warning=true implies "ruby -w" used to run the specs. Defaults to false.
15
+ attr_accessor :warning
16
+
17
+ # Glob pattern to match example files. (default is 'examples/**/*_example.rb')
18
+ attr_accessor :pattern
19
+
20
+ # Array of commandline options to pass to ruby. Defaults to [].
21
+ attr_accessor :ruby_opts
22
+
23
+ # Whether or not to fail Rake when an error occurs (typically when examples fail).
24
+ # Defaults to true.
25
+ attr_accessor :fail_on_error
26
+
27
+ # A message to print to stderr when there are failures.
28
+ attr_accessor :failure_message
29
+
30
+ # Use verbose output. If this is set to true, the task will print
31
+ # the executed spec command to stdout. Defaults to false.
32
+ attr_accessor :verbose
33
+
34
+ # Use rcov for code coverage? defaults to false
35
+ attr_accessor :rcov
36
+
37
+ # The options to pass to rcov. Defaults to blank
38
+ attr_accessor :rcov_opts
39
+
40
+ def initialize(*args)
41
+ @name = args.shift || :examples
42
+ @pattern, @rcov_opts = nil, nil
43
+ @warning, @rcov = false, false
44
+ @ruby_opts = []
45
+ @fail_on_error = true
46
+
47
+ yield self if block_given?
48
+ @pattern ||= 'examples/**/*_example.rb'
49
+ define
50
+ end
51
+
52
+ def define # :nodoc:
53
+ actual_name = Hash === name ? name.keys.first : name
54
+ desc("Run all examples") unless ::Rake.application.last_comment
55
+
56
+ task name do
57
+ RakeFileUtils.send(:verbose, verbose) do
58
+ if examples_to_run.empty?
59
+ puts "No examples matching #{pattern} could be found"
60
+ else
61
+ cmd_parts = [rcov ? 'rcov' : RUBY]
62
+ cmd_parts += rcov ? [rcov_opts] : ruby_opts
63
+ cmd_parts << "-w" if warning
64
+ cmd_parts += examples_to_run.collect { |fn| %["#{fn}"] }
65
+ cmd = cmd_parts.join(" ")
66
+ puts cmd if verbose
67
+ unless system(cmd)
68
+ STDERR.puts failure_message if failure_message
69
+ raise("Command #{cmd} failed") if fail_on_error
70
+ end
71
+ end
72
+ end
73
+ end
74
+
75
+ self
76
+ end
77
+
78
+ def examples_to_run # :nodoc:
79
+ FileList[ pattern ].to_a
80
+ end
81
+
82
+ end
83
+
84
+ end
@@ -0,0 +1,60 @@
1
+ module Micronaut
2
+
3
+ class Runner
4
+
5
+ def self.installed_at_exit?
6
+ @installed_at_exit ||= false
7
+ end
8
+
9
+ def self.autorun
10
+ return if installed_at_exit?
11
+ @installed_at_exit = true
12
+ at_exit { Micronaut::Runner.new.run(ARGV) ? exit(0) : exit(1) }
13
+ end
14
+
15
+ def configuration
16
+ Micronaut.configuration
17
+ end
18
+
19
+ def formatter
20
+ Micronaut.configuration.formatter
21
+ end
22
+
23
+ def require_all_behaviours(files_from_args=[])
24
+ files_from_args.each { |file| require file }
25
+ end
26
+
27
+ def run(args = [])
28
+ require_all_behaviours(args)
29
+
30
+ total_examples_to_run = Micronaut.world.total_examples_to_run
31
+
32
+ old_sync, formatter.output.sync = formatter.output.sync, true if formatter.output.respond_to?(:sync=)
33
+
34
+ suite_success = true
35
+
36
+ formatter_supports_sync = formatter.output.respond_to?(:sync=)
37
+ old_sync, formatter.output.sync = formatter.output.sync, true if formatter_supports_sync
38
+
39
+ formatter.start(total_examples_to_run) # start the clock
40
+ start = Time.now
41
+
42
+ Micronaut.world.behaviours_to_run.each do |behaviour|
43
+ suite_success &= behaviour.run(formatter)
44
+ end
45
+
46
+ formatter.start_dump(Time.now - start)
47
+
48
+ formatter.dump_failures
49
+ formatter.dump_summary
50
+ formatter.dump_pending
51
+ formatter.close
52
+
53
+ formatter.output.sync = old_sync if formatter_supports_sync
54
+
55
+ suite_success
56
+ end
57
+
58
+ end
59
+
60
+ end
@@ -0,0 +1,75 @@
1
+ module Micronaut
2
+
3
+ class World
4
+
5
+ attr_reader :behaviours
6
+
7
+ def initialize
8
+ @behaviours = []
9
+ end
10
+
11
+ def filter
12
+ Micronaut.configuration.filter
13
+ end
14
+
15
+ def behaviours_to_run
16
+ return @behaviours_to_run if @behaviours_to_run
17
+
18
+ if filter
19
+ @behaviours_to_run = filter_behaviours
20
+ if @behaviours_to_run.size == 0 && Micronaut.configuration.run_all_when_everything_filtered?
21
+ puts "No examples were matched by #{filter.inspect}, running all"
22
+ # reset the behaviour list to all behaviours, and add back all examples
23
+ @behaviours_to_run = @behaviours
24
+ @behaviours.each { |b| b.examples_to_run.replace(b.examples) }
25
+ else
26
+ Micronaut.configuration.output.puts "Run filtered using #{filter.inspect}"
27
+ end
28
+ else
29
+ @behaviours_to_run = @behaviours
30
+ @behaviours.each { |b| b.examples_to_run.replace(b.examples) }
31
+ end
32
+
33
+ @behaviours_to_run
34
+ end
35
+
36
+ def total_examples_to_run
37
+ @total_examples_to_run ||= behaviours_to_run.inject(0) { |sum, b| sum += b.examples_to_run.size }
38
+ end
39
+
40
+ def filter_behaviours
41
+ behaviours.inject([]) do |list, b|
42
+ b.examples_to_run.replace(find(b.examples, filter).uniq)
43
+ # Do not add behaviours with 0 examples to run
44
+ list << (b.examples_to_run.size == 0 ? nil : b)
45
+ end.compact
46
+ end
47
+
48
+ def find(collection, conditions={})
49
+ collection.select do |item|
50
+ conditions.all? { |filter_on, filter| apply_condition(filter_on, filter, item.metadata) }
51
+ end
52
+ end
53
+
54
+ def find_behaviours(conditions={})
55
+ find(behaviours, conditions)
56
+ end
57
+
58
+ def apply_condition(filter_on, filter, metadata)
59
+ return false if metadata.nil?
60
+
61
+ case filter
62
+ when Hash
63
+ filter.all? { |k, v| apply_condition(k, v, metadata[filter_on]) }
64
+ when Regexp
65
+ metadata[filter_on] =~ filter
66
+ when Proc
67
+ filter.call(metadata[filter_on]) rescue false
68
+ else
69
+ metadata[filter_on] == filter
70
+ end
71
+ end
72
+
73
+ end
74
+
75
+ end
metadata ADDED
@@ -0,0 +1,165 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: micronaut
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.9
5
+ platform: ruby
6
+ authors:
7
+ - Chad Humphries
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-05-23 00:00:00 -04:00
13
+ default_executable: micronaut
14
+ dependencies: []
15
+
16
+ description: An excellent replacement for the wheel...
17
+ email: chad@spicycode.com
18
+ executables:
19
+ - micronaut
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - LICENSE
24
+ - README.markdown
25
+ files:
26
+ - History.txt
27
+ - LICENSE
28
+ - README.markdown
29
+ - RSPEC-LICENSE
30
+ - Rakefile
31
+ - VERSION.yml
32
+ - bin/micronaut
33
+ - examples/example_helper.rb
34
+ - examples/lib/micronaut/behaviour_example.rb
35
+ - examples/lib/micronaut/configuration_example.rb
36
+ - examples/lib/micronaut/example_example.rb
37
+ - examples/lib/micronaut/expectations/extensions/object_example.rb
38
+ - examples/lib/micronaut/expectations/fail_with_example.rb
39
+ - examples/lib/micronaut/expectations/wrap_expectation_example.rb
40
+ - examples/lib/micronaut/formatters/base_formatter_example.rb
41
+ - examples/lib/micronaut/formatters/documentation_formatter_example.rb
42
+ - examples/lib/micronaut/formatters/progress_formatter_example.rb
43
+ - examples/lib/micronaut/kernel_extensions_example.rb
44
+ - examples/lib/micronaut/matchers/be_close_example.rb
45
+ - examples/lib/micronaut/matchers/be_example.rb
46
+ - examples/lib/micronaut/matchers/change_example.rb
47
+ - examples/lib/micronaut/matchers/description_generation_example.rb
48
+ - examples/lib/micronaut/matchers/eql_example.rb
49
+ - examples/lib/micronaut/matchers/equal_example.rb
50
+ - examples/lib/micronaut/matchers/has_example.rb
51
+ - examples/lib/micronaut/matchers/have_example.rb
52
+ - examples/lib/micronaut/matchers/include_example.rb
53
+ - examples/lib/micronaut/matchers/match_example.rb
54
+ - examples/lib/micronaut/matchers/matcher_methods_example.rb
55
+ - examples/lib/micronaut/matchers/operator_matcher_example.rb
56
+ - examples/lib/micronaut/matchers/raise_error_example.rb
57
+ - examples/lib/micronaut/matchers/respond_to_example.rb
58
+ - examples/lib/micronaut/matchers/satisfy_example.rb
59
+ - examples/lib/micronaut/matchers/simple_matcher_example.rb
60
+ - examples/lib/micronaut/matchers/throw_symbol_example.rb
61
+ - examples/lib/micronaut/mocha_example.rb
62
+ - examples/lib/micronaut/runner_example.rb
63
+ - examples/lib/micronaut/world_example.rb
64
+ - examples/lib/micronaut_example.rb
65
+ - examples/resources/example_classes.rb
66
+ - lib/micronaut.rb
67
+ - lib/micronaut/behaviour.rb
68
+ - lib/micronaut/configuration.rb
69
+ - lib/micronaut/example.rb
70
+ - lib/micronaut/expectations.rb
71
+ - lib/micronaut/expectations/extensions/object.rb
72
+ - lib/micronaut/expectations/handler.rb
73
+ - lib/micronaut/expectations/wrap_expectation.rb
74
+ - lib/micronaut/formatters.rb
75
+ - lib/micronaut/formatters/base_formatter.rb
76
+ - lib/micronaut/formatters/base_text_formatter.rb
77
+ - lib/micronaut/formatters/documentation_formatter.rb
78
+ - lib/micronaut/formatters/progress_formatter.rb
79
+ - lib/micronaut/kernel_extensions.rb
80
+ - lib/micronaut/matchers.rb
81
+ - lib/micronaut/matchers/be.rb
82
+ - lib/micronaut/matchers/be_close.rb
83
+ - lib/micronaut/matchers/change.rb
84
+ - lib/micronaut/matchers/eql.rb
85
+ - lib/micronaut/matchers/equal.rb
86
+ - lib/micronaut/matchers/generated_descriptions.rb
87
+ - lib/micronaut/matchers/has.rb
88
+ - lib/micronaut/matchers/have.rb
89
+ - lib/micronaut/matchers/include.rb
90
+ - lib/micronaut/matchers/match.rb
91
+ - lib/micronaut/matchers/method_missing.rb
92
+ - lib/micronaut/matchers/operator_matcher.rb
93
+ - lib/micronaut/matchers/raise_error.rb
94
+ - lib/micronaut/matchers/respond_to.rb
95
+ - lib/micronaut/matchers/satisfy.rb
96
+ - lib/micronaut/matchers/simple_matcher.rb
97
+ - lib/micronaut/matchers/throw_symbol.rb
98
+ - lib/micronaut/mocking/with_absolutely_nothing.rb
99
+ - lib/micronaut/mocking/with_mocha.rb
100
+ - lib/micronaut/mocking/with_rr.rb
101
+ - lib/micronaut/rake_task.rb
102
+ - lib/micronaut/runner.rb
103
+ - lib/micronaut/world.rb
104
+ has_rdoc: true
105
+ homepage: http://github.com/spicycode/micronaut
106
+ licenses: []
107
+
108
+ post_install_message:
109
+ rdoc_options:
110
+ - --charset=UTF-8
111
+ require_paths:
112
+ - lib
113
+ required_ruby_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: "0"
118
+ version:
119
+ required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: "0"
124
+ version:
125
+ requirements: []
126
+
127
+ rubyforge_project: spicycode-depot
128
+ rubygems_version: 1.3.3
129
+ signing_key:
130
+ specification_version: 3
131
+ summary: An excellent replacement for the wheel...
132
+ test_files:
133
+ - examples/example_helper.rb
134
+ - examples/lib/micronaut/behaviour_example.rb
135
+ - examples/lib/micronaut/configuration_example.rb
136
+ - examples/lib/micronaut/example_example.rb
137
+ - examples/lib/micronaut/expectations/extensions/object_example.rb
138
+ - examples/lib/micronaut/expectations/fail_with_example.rb
139
+ - examples/lib/micronaut/expectations/wrap_expectation_example.rb
140
+ - examples/lib/micronaut/formatters/base_formatter_example.rb
141
+ - examples/lib/micronaut/formatters/documentation_formatter_example.rb
142
+ - examples/lib/micronaut/formatters/progress_formatter_example.rb
143
+ - examples/lib/micronaut/kernel_extensions_example.rb
144
+ - examples/lib/micronaut/matchers/be_close_example.rb
145
+ - examples/lib/micronaut/matchers/be_example.rb
146
+ - examples/lib/micronaut/matchers/change_example.rb
147
+ - examples/lib/micronaut/matchers/description_generation_example.rb
148
+ - examples/lib/micronaut/matchers/eql_example.rb
149
+ - examples/lib/micronaut/matchers/equal_example.rb
150
+ - examples/lib/micronaut/matchers/has_example.rb
151
+ - examples/lib/micronaut/matchers/have_example.rb
152
+ - examples/lib/micronaut/matchers/include_example.rb
153
+ - examples/lib/micronaut/matchers/match_example.rb
154
+ - examples/lib/micronaut/matchers/matcher_methods_example.rb
155
+ - examples/lib/micronaut/matchers/operator_matcher_example.rb
156
+ - examples/lib/micronaut/matchers/raise_error_example.rb
157
+ - examples/lib/micronaut/matchers/respond_to_example.rb
158
+ - examples/lib/micronaut/matchers/satisfy_example.rb
159
+ - examples/lib/micronaut/matchers/simple_matcher_example.rb
160
+ - examples/lib/micronaut/matchers/throw_symbol_example.rb
161
+ - examples/lib/micronaut/mocha_example.rb
162
+ - examples/lib/micronaut/runner_example.rb
163
+ - examples/lib/micronaut/world_example.rb
164
+ - examples/lib/micronaut_example.rb
165
+ - examples/resources/example_classes.rb