Here are the examples of the csharp api Xunit.Context.GetTestMethod() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : Context_CurrentTest.cs
with MIT License
from SimonCropp
with MIT License
from SimonCropp
void InitTest()
{
if (test != null)
{
return;
}
test = (ITest) GetTestMethod().GetValue(TestOutput);
var method = (ReflectionMethodInfo) test.TestCase.TestMethod.Method;
var type = (ReflectionTypeInfo) test.TestCase.TestMethod.TestClreplaced.Clreplaced;
methodInfo = method.MethodInfo;
testType = type.Type;
}