Sha256: dc1ad8bd4db188c404f655955df84b7987cb94cbfe8ac6f0673362aa24781d5d
Contents?: true
Size: 918 Bytes
Versions: 4
Compression:
Stored size: 918 Bytes
Contents
module Fitting class Statistics class CoverErrorEnum def initialize(request_unit) @request_unit = request_unit end def to_s res = '' @request_unit.map do |request| request.responses.map do |response| next unless response.tested_bodies != [] response.json_schemas.map do |json_schema| json_schema.combinations_with_enum.map do |combination| next unless combination.valid_bodies == [] res += "request method: #{request.method}\nrequest path: #{request.path}\n"\ "response status: #{response.status}\nsource json-schema: #{json_schema.json_schema}\n"\ "combination: #{combination.description}\nnew json-schema: #{combination.json_schema}\n\n" end end end end res end end end end
Version data entries
4 entries across 4 versions & 1 rubygems