File tree 3 files changed +40
-0
lines changed
3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ using NUnit . Framework ;
2
+ using OpenQA . Selenium . Environment ;
3
+
4
+ namespace OpenQA . Selenium . Edge
5
+ {
6
+ [ SetUpFixture ]
7
+ // Outside a namespace to affect the entire assembly
8
+ public class MySetUpClass
9
+ {
10
+ [ SetUp ]
11
+ public void RunBeforeAnyTest ( )
12
+ {
13
+ EnvironmentManager . Instance . WebServer . Start ( ) ;
14
+ }
15
+
16
+ [ TearDown ]
17
+ public void RunAfterAnyTests ( )
18
+ {
19
+ EnvironmentManager . Instance . CloseCurrentDriver ( ) ;
20
+ EnvironmentManager . Instance . WebServer . Stop ( ) ;
21
+ }
22
+ }
23
+ }
Original file line number Diff line number Diff line change
1
+ using NUnit . Framework ;
2
+ using System ;
3
+ using System . Linq ;
4
+ using OpenQA . Selenium . Environment ;
5
+ using System . Collections . ObjectModel ;
6
+ using OpenQA . Selenium . Interactions ;
7
+ using System . Collections . Generic ;
8
+
9
+ namespace OpenQA . Selenium . Edge
10
+ {
11
+ [ TestFixture ]
12
+ public class EdgeSpecificTests : DriverTestFixture
13
+ {
14
+ }
15
+ }
Original file line number Diff line number Diff line change 44
44
<Reference Include =" System.Xml" />
45
45
</ItemGroup >
46
46
<ItemGroup >
47
+ <Compile Include =" AssemblyTeardown.cs" />
48
+ <Compile Include =" EdgeSpecificTests.cs" />
47
49
<Compile Include =" Properties\AssemblyInfo.cs" />
48
50
</ItemGroup >
49
51
<ItemGroup >
You can’t perform that action at this time.
0 commit comments