title: Upgrading Parameterised Webdriver Test to Nunit 3.0
body: <p>I was wanting to find a way to repeat failed webdriver tests and stumbled across this <a href="http://answered.site/-because-these-are-webdriver-tests-and-not-standard-unit-tests-tests/3612952/" rel="nofollow">http://answered.site/-because-these-are-webdriver-tests-and-not-standard-unit-tests-tests/3612952/</a>. This lead me to the Nunit home page to find they released 3.0. I upgraded frameworks (from 2.4 to 3) and now my solution is not finding any tests. Here is my setup </p>
  
  <pre><code>namespace PTTest
  {
      [TestFixture(typeof(FirefoxDriver))]
      [TestFixture(typeof(ChromeDriver))]
      [TestFixture(typeof(InternetExplorerDriver))]
      public class UnitTest1&lt;TWebDriver&gt; where TWebDriver : IWebDriver, new()
      {
          PTGeneral General;
          [TestFixtureSetUp]
          public void SetUp()
          {
              General = new PTGeneral();
              General.Driver = new TWebDriver();
              General.Driver.Manage().Timeouts().SetPageLoadTimeout(TimeSpan.FromSeconds(180));
              General.PT_URL = "https://_________________.com/";
  
          }
          [TestFixtureTearDown]
          public void TearDown()
          {
              General.EmailCleanUP();
              General.Driver.Quit();
          }
  </code></pre>
  
  <p>Now I was looking at the 3.0 documentation of the 'Breaking Changes' and I see they depreciated the [TestFixtureTearDown] and [TestFixtureSetUp]. I changed those spots to the now [OneTimeSetUp] and [OneTimeTearDown] attribute but now when I run my tests it no tests are found. </p>