In cases when there are assemblies like 'x86\abc.dll', 'x64\abc.dll', 'net45\abc.dll' or 'netcoreapp2.2\abc.dll' and so on and suite tests should be treated as different tests we should have the environment variable TEAMCITY_NUNIT_SUITE_PATTERN to change the reporting suite names.
For instance we could set an environment variable:
SET TEAMCITY_NUNIT_SUITE_PATTERN=x86_{n} for x86 tests and
SET TEAMCITY_NUNIT_SUITE_PATTERN=x64_{n} for x86 tests.
Where {n} will be replaced by default suite name, for instance abc.dll.
If the environment variable TEAMCITY_NUNIT_SUITE_PATTERN was not specified or was empty the replacement is not working and suites have default names like abc.dll.
In cases when there are assemblies like 'x86\abc.dll', 'x64\abc.dll', 'net45\abc.dll' or 'netcoreapp2.2\abc.dll' and so on and suite tests should be treated as different tests we should have the environment variable
TEAMCITY_NUNIT_SUITE_PATTERN
to change the reporting suite names. For instance we could set an environment variable:SET TEAMCITY_NUNIT_SUITE_PATTERN=x86_{n}
for x86 tests andSET TEAMCITY_NUNIT_SUITE_PATTERN=x64_{n}
for x86 tests. Where {n} will be replaced by default suite name, for instance abc.dll. If the environment variableTEAMCITY_NUNIT_SUITE_PATTERN
was not specified or was empty the replacement is not working and suites have default names likeabc.dll
.