junit.testlogger icon indicating copy to clipboard operation
junit.testlogger copied to clipboard

Add support for ClassFormat configuration

Open hmiguel opened this issue 7 months ago • 0 comments

Hello,

I wonder if it’s possible to create a configuration for the "classname" format.

(this classname maps to "Suite" column in GitLab table and default classname sometimes is too long and not so user-friendly)

Is there any way to do this?

Example, using NUnit:

The following test class:

[TestFixture(TestName = "User")]
public class MyUsersTests
{
...
}

Generate a xml like this:

<testcase classname="MyApp.Tests.IntegrationTests.Tests.UserTests.User" ... />

Expectation: have a ClassFormat configuration to specify if should output class full name or not, like MethodFormat do.

Thanks

hmiguel avatar Jul 17 '24 18:07 hmiguel