Class: Ci::BuildReportResult
Constant Summary
Partitionable::MUTEX
ApplicationRecord::MAX_PLUCK
ResetOnUnionError::MAX_RESET_PERIOD
Instance Method Summary
collapse
model_name, table_name_prefix
cached_column_list, #create_or_load_association, declarative_enum, default_select_columns, id_in, id_not_in, iid_in, pluck_primary_key, primary_key_in, #readable_by?, safe_ensure_unique, safe_find_or_create_by, safe_find_or_create_by!, #to_ability_name, underscore, where_exists, where_not_exists, with_fast_read_statement_timeout, without_order
#serializable_hash
Instance Method Details
#suite_error ⇒ Object
46
47
48
|
# File 'app/models/ci/build_report_result.rb', line 46
def suite_error
tests.dig("suite_error")
end
|
#tests_duration ⇒ Object
26
27
28
|
# File 'app/models/ci/build_report_result.rb', line 26
def tests_duration
tests.dig("duration")
end
|
#tests_errored ⇒ Object
38
39
40
|
# File 'app/models/ci/build_report_result.rb', line 38
def tests_errored
tests.dig("errored").to_i
end
|
#tests_failed ⇒ Object
34
35
36
|
# File 'app/models/ci/build_report_result.rb', line 34
def tests_failed
tests.dig("failed").to_i
end
|
#tests_name ⇒ Object
22
23
24
|
# File 'app/models/ci/build_report_result.rb', line 22
def tests_name
tests.dig("name")
end
|
#tests_skipped ⇒ Object
42
43
44
|
# File 'app/models/ci/build_report_result.rb', line 42
def tests_skipped
tests.dig("skipped").to_i
end
|
#tests_success ⇒ Object
30
31
32
|
# File 'app/models/ci/build_report_result.rb', line 30
def tests_success
tests.dig("success").to_i
end
|