Class: GoodCase
Instance Attribute Summary
Attributes inherited from Module
Instance Method Summary collapse
Methods inherited from Module
#after, #before, #call, #initialize, #set_report
Constructor Details
This class inherits a constructor from Module
Instance Method Details
#go(definition, report) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/tester/modules/good_case.rb', line 6 def go definition, report super definition.methods.each do |method| default_case = BoundaryCase.new method.url, method.request.default_payload, method.request.default_headers response = self.call method, default_case test = GoodCaseTest.new response, method self.report.reports.concat test.check end self.report.reports == [] end |
#order ⇒ Object
19 20 21 |
# File 'lib/tester/modules/good_case.rb', line 19 def order 1 end |