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 XUnit XML test results and submit them to the buildnote service. XUnit is commonly used by .NET and Microsoft frameworks.
To enable collection of XUnit test results add the following section to buildnote.json
config file
{
"collect": {
...
"xunit": {
"enabled": true,
"include": [
"**/*xunit.xml"
]
}
...
}
}
You can attach metadata to XUnit test results by configuring the metadata
section:
{
"collect": {
...
"xunit": {
"enabled": true,
"include": [
"**/*xunit.xml"
],
"metadata": {
"test-user": "{{ env.USER }}",
"build-environment": "{{ env.BUILD_ENV }}"
}
}
...
}
}
To exclude any paths from collection configure exclude
section with required globs.
{
"collect": {
...
"xunit": {
"exclude": [
"**/*excluded.xml",
"/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