13478.bugfix.rst

Overview

This file documents a bug fix related to the handling of the `console_output_style` configuration option in the software project. Specifically, it addresses a crash that occurred when the `console_output_style` was set to ["times"](/projects/286/67343) and a module was skipped during execution.

The fix ensures that the system gracefully handles cases where modules are skipped without leading to a runtime error, improving the robustness of console output formatting and module execution flow.

Details of the Fix

Usage and Impact

Implementation Details

Interaction with Other Components

Visual Diagram

Below is a class diagram illustrating the relationship between the key concepts involved in this fix:

classDiagram
    class ConsoleOutputStyle {
        +style_name: str
        +render(module: Module)
    }

    class Module {
        +name: str
        +status: Enum{Executed, Skipped, Failed}
        +timing_info: TimingData
    }

    class TimingData {
        +start_time: datetime
        +end_time: datetime
        +duration(): timedelta
    }

    ConsoleOutputStyle "1" -- "many" Module : processes >
    Module "1" *-- "1" TimingData : has >

Summary

This bug fix is a minor but important stability improvement focused on ensuring that the console output formatting subsystem handles skipped modules gracefully, especially when timing information is requested through the ["times"](/projects/286/67343) style. It prevents crashes and improves user experience for scenarios where test or module execution is selectively skipped.


*End of 13478.bugfix.rst documentation.*