Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test name pattern to the adapter runsettings #358

Closed
OsirisTerje opened this issue Jul 13, 2017 · 1 comment
Closed

Add test name pattern to the adapter runsettings #358

OsirisTerje opened this issue Jul 13, 2017 · 1 comment
Assignees
Milestone

Comments

@OsirisTerje
Copy link
Member

See #326 for discussion

Currently the test name pattern is hardcoded, including a limit of 40 chars, in the adapter.
By adding the test name pattern, as documented here https://github.com/nunit/docs/wiki/Template-Based-Test-Naming : , as a separate setting in the nunit section in runsettings, the user can change this as wanted.
The default will remain as {m}{a:40} meaning test method name, max 40 chars.

@CharliePoole
Copy link
Member

While I know you understand the meaning, since this is a public post I wanted to correct the meaning of {m}{a:40}. It means...

The full name of the method, without truncation, followed by all the arguments in parentheses, separated by commas, with string arguments truncated to 40 chars. The total length of the name is indeterminate.

@OsirisTerje OsirisTerje added this to the 3.8 milestone Jul 14, 2017
OsirisTerje added a commit that referenced this issue Jul 14, 2017
OsirisTerje added a commit that referenced this issue Jul 14, 2017
Added DefaultTestNamePattern to runsetting section for NUnit.  #358
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants