title: Using NUnit Multiple Assert when Assert statements are in different methods
body: <p>I am running automated BDD steps using <code>NUnit</code> assertions for each step i.e. <code>Then</code> <code>And</code> for my UI tests.</p>
  
  <p>The <code>NUnit</code> assertions are confined to confined to each method.  This means that if an assertion in a method fails, then the other steps won't be run.   </p>
  
  <p>I was thinking of using <code>NUnit Multiple Assert</code> but this requires all the asserts to be together.  Any ideas?</p>
  
  <pre><code>BDD Steps
  
  Then I am shown results for("foo")
  And the page count is(3)
  </code></pre>
  
  <p>I am using the <code>LightBDD</code> Library <a href="https://github.com/LightBDD/LightBDD" rel="nofollow noreferrer">https://github.com/LightBDD/LightBDD</a></p>
  
  <pre class="lang-cs prettyprint-override"><code>// Then Step
  private void ThenIAmShownResultsFor(string expectedResults)
  {
      Assert.AreEqual(expectedResults, actual);
  }
  
  // And Step
  private void AndThePageCountIs(int expectedResults)
  {
      Assert.AreEqual(expectedResults, actual);
  }
  </code></pre>