Skip to content

documentation for test case metadata - #5744

Open
febb0e wants to merge 5 commits into
robotframework:masterfrom
imbus:docs/custom-metadata
Open

documentation for test case metadata#5744
febb0e wants to merge 5 commits into
robotframework:masterfrom
imbus:docs/custom-metadata

Conversation

@febb0e

@febb0e febb0e commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

This pull request adds documentation for free metadata on test cases and updates the documentation and listener interface accordingly. The changes describe that test case metadata can be set, accessed, and is available in listener APIs, with documentation updated to show these new capabilities.

Documentation Updates:

  • Updated user guide sections to document the new [Metadata] setting for test cases and explain its usage, including how to specify and access free test metadata.

Listener Interface:

  • Extended the listener interface so that test case metadata is available in the arguments of relevant listener methods, with documentation specifying the new metadata field for test cases.

Copilot AI lite review requested due to automatic review settings August 13, 2026 13:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates Robot Framework’s documentation and model docstrings to cover “free” metadata on test cases, including documenting listener v2 attribute dictionaries containing test metadata.

Changes:

  • Documented [Metadata] as a test case setting in the user guide and settings appendix.
  • Documented metadata in listener v2 start_test/end_test attribute dictionaries.
  • Clarified model docstrings for test case metadata and the shared Metadata mapping type.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/robot/model/testcase.py Adds “New in Robot Framework 7.5” note to test case metadata documentation.
src/robot/model/metadata.py Clarifies Metadata applies to both suite and test metadata.
doc/userguide/src/ExtendingRobotFramework/ListenerInterface.rst Documents metadata in listener v2 test attribute dictionaries.
doc/userguide/src/CreatingTestData/CreatingTestSuites.rst Adds a pointer from suite metadata docs to test metadata docs.
doc/userguide/src/CreatingTestData/CreatingTestCases.rst Adds [Metadata] to the list of available test case settings.
doc/userguide/src/Appendices/AvailableSettings.rst Adds [Metadata] to the “Test Case section” settings table.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +81 to +82
`[Metadata]`:setting:
Used for setting `free test metadata`_ as name-value pairs.
Comment on lines +221 to +222
Individual test cases can have similar free metadata of their own, see
`free test metadata`_ for more information.
Comment on lines +90 to +91
| [Metadata] | Used for setting `free test metadata`_. |
+-----------------+--------------------------------------------------------+
Comment on lines +173 to +174
| | | * `metadata`: `Free test metadata`_ as a dictionary. |
| | | New in RF 7.5. |
Copilot AI review requested due to automatic review settings August 13, 2026 13:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

@febb0e febb0e mentioned this pull request Aug 13, 2026
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