Class: GoodCase
Instance Attribute Summary
Attributes inherited from Module
#report
Instance Method Summary
collapse
Methods inherited from Module
#after, #before, #call, #set_report
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 definition.url, method.request.default_payload, method.request.
response = self.call method, definition, default_case
test = GoodCaseTest.new response, definition.url, 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
|