Skip to content

FAQ: UT Core Framework Overview

Ulrond edited this page Oct 28, 2024 · 1 revision
graph LR
    subgraph "Available Hardware"
        allocator[xTS Allocator] --> rackConfig
    end
    subgraph "Host Machine(High Level Tests)"
        Python_Test[Python Test Code] --> ut_raft
		ut_raft --> python_raft
		Python_Test --> input_control_msg
		python_raft --> python_raft_input_control
		input_control_msg[Control Msg] --> python_raft_input_control
        deviceConfig --> Python_Test
        rackConfig --> Python_Test
    end
    subgraph "Rack Slot/Desk"
    subgraph "Stimulus/Input Devices"
        ir[IR]
        pulse8[HDMICEC]
        RackDevices
		session[session:Serial/SSH/Telnet]
	end
    subgraph "Rack Modules"
        power[power/monitoring]
        vc[Video Capture]
	end
    subgraph "DUT(Target)"
		console
		test_binary <--> halif
		python_raft <--> session
		console <--> test_binary(Test Binary)
		platform_profile --> test_binary
		test_binary <--> ut_core
		ut_core <--> ut_control
        ut_control <--> halif(HAL-Interface)
		halif --> halcode
	end
	end
    subgraph Actors
		jenkins[Smoke Test Builds] --> xTS
		auto1[Github Actions / Review Approval] --> xTS
        QA[QA Layer Release Testing] --> xTS
        LayerRelease[Engineer Layer Release Testing] --> xTS
        EngineerComponentTesting[Engineer Component/Change Testing] --> Python_Test
        EngineerComponentTesting --> console
        Vendor[Vendor Bringup] --> console
        Vendor[Vendor Bringup] --> xTS
		xTS --> Python_Test
		xTS <--> allocator 
    end
 		classDef yellow fill:#ff0,stroke:#333;  %% Red
    	classDef green fill:#0f0,stroke:#333; %% Green
    	classDef blue fill:#0af,stroke:#333;  %% Blue
		classDef purple fill:#f9f,stroke:#333,stroke-width:2px;
		classDef white fill:#fff,stroke:#333,stroke-width:2px;
		classDef cyan fill:#0ff,stroke:#333,stroke-width:2px;
		classDef purple2 fill:#aaf,stroke:#333,stroke-width:2px;
		session --- console
		python_raft --- power
		python_raft_input_control --- ir
		python_raft_input_control --- pulse8
		python_raft_input_control --- RackDevices
		python_raft --- vc
    subgraph index
		%% Core modules
		core_modules
		class core_modules purple
		class ut_control purple
		class ut_raft purple
		class xTS purple
		class python_raft purple
		class ut_core purple
		class ut_control purple
		%% Raft Modules
		raft_modules
		class raft_modules cyan
		class python_raft_input_control cyan
		class ir cyan
		class pulse8 cyan
		class RackDevices cyan
		class session cyan
		class power cyan
		class vc cyan
		%% Vendor Modules
		vendor
		class vendor white
		class halcode white
        class Vendor white
		%% Test Code
		test_artifacts
		class test_code green
		class Python_Test green
		class test_binary green
		class input_control_msg green
		class platform_profile green
		class deviceConfig green
        class rackConfig green
		%% HAL Interface
		hal_interface[RDK HAL Interface]
		class hal_interface yellow
		class halif yellow
		%% Manual Testing
		manual_testing
		class manual_testing blue
        class LayerRelease blue
        class EngineerComponentTesting blue
		%% Automation testing
		automation
		class automation purple2
		class jenkins purple2
		class auto1 purple2
		class QA purple2
    end
Loading
Clone this wiki locally