Skip to content

Add support for tests to provide description and metadata when running tests e.g. for easier test tool log correlation.#448

Open
apratimmukherjee wants to merge 2 commits intomasterfrom
set_config_metadata
Open

Add support for tests to provide description and metadata when running tests e.g. for easier test tool log correlation.#448
apratimmukherjee wants to merge 2 commits intomasterfrom
set_config_metadata

Conversation

@apratimmukherjee
Copy link
Contributor

@apratimmukherjee apratimmukherjee commented Dec 5, 2025

Feature Overview

  • Issue TBD
  • The aim is to provide a way for test logs in test components e.g the controller to associate a test or sub-test name with logs generated , especially for debugging issues found in test runs with 100s of cases being executed where being able to map an error log to specific test or sub-test can add significant value for quicker debugging and analysis.
  • In future , it could also be used to generate some sort of test reports in terms of tests/sub-tests executed , time taken and apis executed for each test etc. if needed since controller / test tool will now have this information.

Feature Details


Code snippets

  config.Metadata.SetDescription("FP1.5 - xyz test")
  /* TBD : Add pertinent example for tag-value pair */

Test Specification (Optional)

This is more of a test harness feature where test harness should ideally set the description before sending each set_config to controller and for now , the verification will be that the test tool logs will dump the test name alongwith test tool specific execution logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants