Test Case Setup¤
            TestCaseSetup
  
      dataclass
  
¤
TestCaseSetup(
    session_id: str,
    node_id: str,
    start_timestamp: str,
    stop_timestamp: str,
    duration: float,
    outcome: Outcome,
    event: str = "case_setup",
    error: TestCaseError | None = None,
)
Pytest Test Case Setup.
Attributes:
| Name | Type | Description | 
|---|---|---|
duration | 
            
                  float
             | 
            
               Duration of the setup step in seconds.  | 
          
error | 
            
                  TestCaseError | None
             | 
            
               Error details if the setup step failed.  | 
          
event | 
            
                  str
             | 
            
               The event type. Always set to 'case_setup'.  | 
          
node_id | 
            
                  str
             | 
            
               The node ID of the test case.  | 
          
outcome | 
            
                  Outcome
             | 
            
               Outcome of the setup step.  | 
          
session_id | 
            
                  str
             | 
            
               The unique if of this test session used to aggregate events together.  | 
          
start_timestamp | 
            
                  str
             | 
            
               Start time of the setup step in ISO 8601 format.  | 
          
stop_timestamp | 
            
                  str
             | 
            
               Stop time of the setup step in ISO 8601 format.  | 
          
            error
  
      class-attribute
      instance-attribute
  
¤
error: TestCaseError | None = None
Error details if the setup step failed.
            event
  
      class-attribute
      instance-attribute
  
¤
event: str = 'case_setup'
The event type. Always set to 'case_setup'.
            session_id
  
      instance-attribute
  
¤
session_id: str
The unique if of this test session used to aggregate events together.