inferno-core icon indicating copy to clipboard operation
inferno-core copied to clipboard

Fi-1930: Custom Result Rollup

Open vanessuniq opened this issue 7 months ago • 2 comments

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 and Inferno::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

vanessuniq avatar Jul 15 '24 14:07 vanessuniq