mirror of
https://github.com/vacp2p/cs-codex-dist-tests.git
synced 2025-02-22 07:18:21 +00:00
same for fixture name
This commit is contained in:
parent
4995665fe5
commit
9c1b469f0d
@ -22,6 +22,7 @@ namespace Logging
|
||||
public static string GetRawFixtureName()
|
||||
{
|
||||
var test = TestContext.CurrentContext.Test;
|
||||
if (test.ClassName!.Contains("AdhocContext")) return "-";
|
||||
var className = test.ClassName!.Substring(test.ClassName.LastIndexOf('.') + 1);
|
||||
return className.Replace('.', '-');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user