Robot Framework
Buildnote CLI can collect Robot Framework XML test results and submit them to the buildnote service. Robot Framework is commonly used by Python, JVM and other applications.
Configuration
To enable collection of Robot Framework test results add the following section to buildnote.json config file
json
{
"collect": {
...
"robot": {
"enabled": true,
"include": [
"**/*-robot.xml"
]
}
...
}
}Metadata
You can attach metadata to Robot Framework test results by configuring the metadata section:
json
{
"collect": {
...
"robot": {
"enabled": true,
"include": [
"**/*-robot.xml"
],
"metadata": {
"test-user": "{{ env.USER }}",
"build-environment": "{{ env.BUILD_ENV }}"
}
}
...
}
}Excluding paths
To exclude any paths from collection configure exclude section with required globs.
json
{
"collect": {
...
"robot": {
"exclude": [
"**/*excluded.xml",
"/any/excluded/glob/**/"
]
}
...
}
}