Get started today!
Ready to gain unparalleled visibility into your pipelines and testing workflows? Get started with Buildnote now and transform the way your team delivers software.
Get startedBuildnote CLI can collect JUnit XML test results and submit them to the buildnote service. JUnit XML is used by JVM ecosystems, JavaScript testing frameworks (Mocha, Jest), and many other testing tools.
To enable collection of JUnit test results add the following section to buildnote.json
config file
{
"collect": {
...
"junit": {
"enabled": true,
"include": [
"**/TEST-*.xml"
]
}
...
}
}
You can attach metadata to JUnit test results by configuring the metadata
section:
{
"collect": {
...
"junit": {
"enabled": true,
"include": [
"**/TEST-*.xml"
],
"metadata": {
"test-user": "{{ env.USER }}"
}
}
...
}
}
To exclude any paths from collection configure exclude
section with required globs.
{
"collect": {
...
"junit": {
"exclude": [
"/any/excluded/glob/**/"
]
}
...
}
}
Ready to gain unparalleled visibility into your pipelines and testing workflows? Get started with Buildnote now and transform the way your team delivers software.
Get started