pytest_f3ts.schemas.config
Models for messaging between the Test Executor and pytest processes.
class BalenaRelease
class ConfigInfo
Configuration Information Message
Message structure for sending the current test plan revision information to the backend.
class FixtureSettings
Test Fixture Settings.
Contains global settings specific to a given Fixture or Fixture Slot.
- slot_id: Fixture Slot ID
- api_url: Fixture Slot API URL (if applicable)
- user_vars: User defined variables available for configuration via Test Runner
FixtureSettings.coerce_none_string(v)
FixtureSettings.coerce_to_str(v) -> str
class GUISettings
Test Runner GUI Settings.
Contains settings for configuring the Test Runner, including displaying serial number input dialogs, enabling a test interlock check, etc.
class PytestTestPlanConfig
Test Plan Configuration file model.
Contains the complete test plan configuration information. This includes the test name, GUI configuration information, and any test case configuration information.
class TestCase
Test Case configuration model.
Contains information for the given test case. This is used to configure pass/fail limits and provide information that is displayed within the Test Runner GUI.
The following information should be specified:
- test_id: Test ID number used to identify the test case on the GUI
- error_code: Error code to use within debugging guide
- error_msg: Message to display in the GUI when a failure occurs for the given test case
- description: Message displayed in the GUI for the test description
- min_limit: Minimum limit, if applicable
- max_limit: Maximum limit, if applicable
- user_vars: User defined variables available for configuration via Test Runner
TestCase.coerce_to_str(v) -> str
class TestPlanConfig
Test Plan Configuration file model.
Contains the complete test plan configuration information. This includes the test name, GUI configuration information, and any test case configuration information.