public void CreateDriver()
        {
            var assemblyName = typeof(NUnit.Framework.TestAttribute).Assembly.GetName();

            _mockAssemblyPath = System.IO.Path.Combine(TestContext.CurrentContext.TestDirectory, MOCK_ASSEMBLY);
            _driver           = new NUnit3FrameworkDriver(AppDomain.CurrentDomain, assemblyName);
        }
Exemple #2
0
        public void LoadAssembly()
        {
            var mockAssemblyPath = System.IO.Path.Combine(TestContext.CurrentContext.TestDirectory, MOCK_ASSEMBLY);

            _driver = new NUnit3FrameworkDriver(AppDomain.CurrentDomain);
            _driver.Load(mockAssemblyPath, new Dictionary <string, object>());
        }
 public void CreateDriver()
 {
     _mockAssemblyPath = System.IO.Path.Combine(TestContext.CurrentContext.TestDirectory, MOCK_ASSEMBLY);
     _driver           = new NUnit3FrameworkDriver(AppDomain.CurrentDomain);
 }
 public void CreateDriver()
 {
     _mockAssemblyPath = System.IO.Path.Combine(TestContext.CurrentContext.TestDirectory, MOCK_ASSEMBLY);
     _driver = new NUnit3FrameworkDriver(AppDomain.CurrentDomain);
 }
Exemple #5
0
 public void LoadAssembly()
 {
     var mockAssemblyPath = System.IO.Path.Combine(TestContext.CurrentContext.TestDirectory, MOCK_ASSEMBLY);
     _driver = new NUnit3FrameworkDriver(AppDomain.CurrentDomain);
     _driver.Load(mockAssemblyPath, new Dictionary<string, object>());
 }