Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i15: ut-core: List out all tests in available by command switch #15

Open
Ulrond opened this issue Oct 12, 2023 · 2 comments
Open

i15: ut-core: List out all tests in available by command switch #15

Ulrond opened this issue Oct 12, 2023 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@Ulrond
Copy link
Contributor

Ulrond commented Oct 12, 2023

Test List Output

Add support to the main switches to output all the parent - child

There is already a switch for this but it doesn't so anything, this will aid the development for the upper layers, by auto-generating a suite / test relationship output to be captured

-l - List all tests run to a file

Output should something like the following format

"suite name","test name"
"suite name","test name"
"suite name","test name"
"suite name","test name"
@Ulrond Ulrond added the bug Something isn't working label Oct 12, 2023
@Ulrond Ulrond added this to the 1.8.0 milestone Oct 12, 2023
@Ulrond Ulrond added the enhancement New feature or request label Nov 2, 2023
@Ulrond Ulrond moved this to Todo in UT-Core Roadmap Feb 7, 2024
@Ulrond
Copy link
Contributor Author

Ulrond commented Apr 8, 2024

also need to consider, and maybe separate as a separate task, that during building you need to warn that the YAML file is out of date.. Or autogenerate it always if it's not too slow to-do so.

@Ulrond Ulrond changed the title List out all tests in available by command switch i15: ut-core: List out all tests in available by command switch Sep 9, 2024
@Ulrond
Copy link
Contributor Author

Ulrond commented Oct 14, 2024

Updared configuration example -> https://github.com/rdkcentral/rdk-halif-test-device_settings/blob/develop/host/tests/dsClasses/dsAudio_test_suite.yml

# this file is generated by the testing suites, when a new test is modified, this configuration file will be filled out and updated.

dsAudio:  # Prefix must always exist
    description: "dsAudio Device Settings testing profile / menu system for UT"
    test:
        execute: "" #Execute command
        type: UT-C # C (UT-C Cunit) / C++ (UT-G (g++ ut-core gtest backend))
        suites:
            0:
                name: "L1 dsAudio - Sink"
                tests:
            1:
                name: "L2 dsAudio - Sink"
                tests:
            2:
                name: "L3 dsAudio"
                tests:
                    - "Initialize dsAudio"
                    - "Enable Audio Port"
                    - "Disable Audio Port"
                    - "Headphone Connection"
                    - "Audio Compression"
                    - "MS12 DAP Features"
                    - "Set Stereo Mode"
                    - "Enable/Disable Stereo Auto"
                    - "Set Audio Level"
                    - "Set Audio Gain For Speaker"
                    - "Audio Mute/UnMute"
                    - "Set Audio Delay"
                    - "Get Audio Format"
                    - "Set ATMOS Output Mode"
                    - "Get ATMOS Capabilities"
                    - "Set MS12 Profiles"
                    - "Set Associate Audio Mixing"
                    - "Set Audio Mixer Levels"
                    - "Primary/Secondary Language"
                    - "Get ARC Type"
                    - "Set SAD List"
                    - "Terminate dsAudio"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants