Closed vanessuniq closed 4 weeks ago
Attention: Patch coverage is 96.61017%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 79.83%. Comparing base (
9fab4c0
) to head (f5e70ee
). Report is 1 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
...v_suites/dev_custom_results/custom_result_suite.rb | 95.94% | 3 Missing :warning: |
lib/inferno/dsl/messages.rb | 85.71% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Test suite and group result now have messages and summary message. Only summary message for group is shown on the UI. messages are no shown.
Summary
This PR enhances the result rollup feature to support custom result logic through a user-defined block. The changes include:
ResultCollection
class: manages a collection of Inferno::Entities::Result objectscustomize_passing_result
method that sets/ gets the custom block to define the passing criteria.Inferno::ResultSummarizer
andInferno::TestRunner
: now takes custom result block into account when determining the overall result of a TestGroup or TestSuite.Testing Guidance
Custom Result Suite
and ensure correct behavior