inferno-core
inferno-core copied to clipboard
Fi-1930: Custom Result Rollup
Summary
This PR enhances the result rollup feature to support custom result logic through a user-defined block. The changes include:
- New
ResultCollection
class: manages a collection of Inferno::Entities::Result objects - Updated TestGroup and TestSuite Classes: now has a
customize_passing_result
method that sets/ gets the custom block to define the passing criteria. - Updated
Inferno::ResultSummarizer
andInferno::TestRunner
: now takes custom result block into account when determining the overall result of a TestGroup or TestSuite.
Testing Guidance
- Review changes.
- Run unit tests and ensure passing
- Run the new dev suite
Custom Result Suite
and ensure correct behavior