public MethodContext(string filePath) { this.filePath = filePath; if (TestMethodCache.Value == null) { TestMethodCache.Value = HitTestMethod.From(TestMethodUtils.GetTestMethod()); clearTestMethodCache = true; } testMethod = TestMethodCache.Value; }
public MethodContext(string filePath) { this.filePath = filePath; if (TestMethodCache.Value == null) { var currentUri = new Uri(Directory.GetCurrentDirectory()); TestMethodCache.Value = HitTestMethod.From(TestMethodUtils.GetTestMethod(), currentUri); clearTestMethodCache = true; } testMethod = TestMethodCache.Value; }