private void CheckTestMethod(string name) { Configuration config = this.GetConfiguration(); config.AssemblyToBeAnalyzed = Assembly.GetExecutingAssembly().Location; config.TestMethodName = name; using var testMethodInfo = TestMethodInfo.Create(config); Assert.Equal(Assembly.GetExecutingAssembly(), testMethodInfo.Assembly); Assert.Equal($"{typeof(EntryPointTests).FullName}.{name}", testMethodInfo.Name); }
private static void CheckTestMethod(string name) { Configuration config = Configuration.Create(); config.AssemblyToBeAnalyzed = Assembly.GetExecutingAssembly().Location; config.TestMethodName = name; var testMethodInfo = TestMethodInfo.Create(config); Assert.Equal(Assembly.GetExecutingAssembly(), testMethodInfo.Assembly); Assert.Equal(GetFullyQualifiedTestName(name), testMethodInfo.Name); }