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…
Reference in New Issue