(self)
return TestCaseSummary(
            name=self.__config.name,
            success=self.success,
            case_id=self.__case_id,
            time=TestCaseTime(
                start_at=self.__start_at,
                start_at_iso_format=start_at_iso_format,
                duration=self.__duration,
            ),
            in_out=TestCaseInOut(
                config_vars=self.__config.variables,
                export_vars=self.get_export_variables(),
            ),
            log=self.__log_path,
            step_datas=self.__step_datas,
        )
get testcase result summary
get testcase result summary
get testcase result summary
def get_summary(self) -> TestCaseSummary:
        """get testcase result summary"""
        start_at_timestamp = self.__start_at
        start_at_iso_format = datetime.utcfromtimestamp(start_at_timestamp).isoformat()
        return TestCaseSummary(
            name=self.__config.name,
            success=self.success,
            case_id=self.__case_id,
            time=TestCaseTime(
                start_at=self.__start_at,
                start_at_iso_format=start_at_iso_format,
                duration=self.__duration,
            ),
            in_out=TestCaseInOut(
                config_vars=self.__config.variables,
                export_vars=self.get_export_variables(),
            ),
            log=self.__log_path,
            step_datas=self.__step_datas,
        )
def get_summary ( self ) -> TestCaseSummary : start_at_timestamp = self . __start_at start_at_iso_format = datetime . utcfromtimestamp ( start_at_timestamp ) . isoformat ( ) return TestCaseSummary ( name = self . __config . name , success = self . success , case_id = self . __case_id , time = TestCaseTime ( start_at = self . __start_at , start_at_iso_format = start_at_iso_format , duration = self . __duration , ) , in_out = TestCaseInOut ( config_vars = self . __config . variables , export_vars = self . get_export_variables ( ) , ) , log = self . __log_path , step_datas = self . __step_datas , )