mirror of
https://github.com/vacp2p/cs-codex-dist-tests.git
synced 2025-02-22 15:28:26 +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()
|
public static string GetRawFixtureName()
|
||||||
{
|
{
|
||||||
var test = TestContext.CurrentContext.Test;
|
var test = TestContext.CurrentContext.Test;
|
||||||
|
if (test.ClassName!.Contains("AdhocContext")) return "-";
|
||||||
var className = test.ClassName!.Substring(test.ClassName.LastIndexOf('.') + 1);
|
var className = test.ClassName!.Substring(test.ClassName.LastIndexOf('.') + 1);
|
||||||
return className.Replace('.', '-');
|
return className.Replace('.', '-');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user