blob: a80943dda946f411ab5315f6d39996364b598834 [file] [edit]
using NUnit.Framework;
using OpenQA.Selenium.Environment;
namespace OpenQA.Selenium.Firefox
{
[SetUpFixture]
// Outside a namespace to affect the entire assembly
public class MySetUpClass
{
[OneTimeSetUp]
public void RunBeforeAnyTest()
{
EnvironmentManager.Instance.WebServer.Start();
}
[OneTimeTearDown]
public void RunAfterAnyTests()
{
EnvironmentManager.Instance.CloseCurrentDriver();
EnvironmentManager.Instance.WebServer.Stop();
}
}
}