Robot Framework
The Buildnote CLI collects Robot Framework XML test results and sends them to Buildnote. Robot Framework is commonly used for Python, JVM and other applications.
Configuration
To collect Robot Framework test results, add this section to your buildnote.json config file:
json
{
"collect": {
...
"robot": {
"enabled": true,
"include": [
"**/*-robot.xml"
]
}
...
}
}Metadata
To attach your own metadata to Robot Framework test results, add a metadata section:
json
{
"collect": {
...
"robot": {
"enabled": true,
"include": [
"**/*-robot.xml"
],
"metadata": {
"test-user": "{{ env.USER }}",
"build-environment": "{{ env.BUILD_ENV }}"
}
}
...
}
}Excluding paths
To leave some paths out of collection, list their globs under exclude:
json
{
"collect": {
...
"robot": {
"exclude": [
"**/*excluded.xml",
"/any/excluded/glob/**/"
]
}
...
}
}