Example #1
0
        public void ApplyToTest(Test test)
        {
            if (test == null)
            {
                throw new ArgumentNullException(nameof(test));
            }

            LaunchSettingsHelper.EnsureEnvironmentVariables();

            // If this test is running in memory then skip the test
            if (InMemory)
            {
                test.RunState = RunState.Ignored;
            }
        }
Example #2
0
 public void ApplyToContext(TestExecutionContext context)
 {
     LaunchSettingsHelper.EnsureEnvironmentVariables();
 }
Example #3
0
 protected LaunchSettingsFixture()
 {
     LaunchSettingsHelper.EnsureEnvironmentVariables();
 }