ARMmbed / ARMmbed/mbed-tools

CTest integration: Add option to list all tests

Open
#294 0 comments 0 reactions 0 assignees View on GitHub
ctest support enhancement
Dominant language
Python
Stars
49
Forks
32
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

We will soon be using CTest to automatically build all tests in Mbed OS with CMake and run them with greentea/htrun. While it will be possible to manually trigger them with a full `ctest` command line, an option in mbed-tools makes it user friendly.

This task is specific to _listing_ all tests.

**Describe the solution you'd like**

Interfacing with the `ctest` command.

**Describe alternatives you've considered**

An alternative is running `ctest` directly, but as described above, a option in mbed-tools has been requested.

**Additional context**

Contributor guide

Open the contributing guide

Research direction

No file, test, or CLI entry point is named. Start by locating the mbed-tools command that would interface with CTest and review how CMake/CTest commands are invoked; done means a user-facing option lists all tests through CTest.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
cli, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.