title: NUnit: Assert.Multiple for methods that contain Assume.That
body: <p>I'm testing a web page that contains, let's say, three different modules. In my test framework each page module is represented by its own test class: <code>Module1Tests</code>, <code>Module2Tests</code>, <code>Module3Tests</code>. Besides, to satisfy specific conditions for each module, I use <code>Assume.That</code> in each of test classes.
  With this setup everything works fine if I'm just testing separate modules.
  But, when I create a test class for the whole page and use <code>Assert.Multiple</code> like this:</p>
  
  <pre><code>public class HomePageTests
      {
          public Module1Tests Module1Tests { get; } = new Module1Tests();
  
          public Module2Tests Module2Tests { get; } = new Module2Tests();
  
          public Module3Tests Module3Tests { get; } = new Module3Tests();
  
  [Test]
  public void HomePage()
  {
      Assert.Multiple(() =&gt;
      {
          Module1Tests.Module1TestMethod();
          Module2Tests.Module2TestMethod();
          Module3Tests.Module3TestMethod();
      });
  }
  </code></pre>
  
  <p>I get error message that I cannot use methods with <code>Assume.That</code> within <code>Assert.Multiple</code> blocks.</p>
  
  <p>I also tried calling module test methods without <code>Assert.Multiple</code> block, but the whole page test stops executing at the first failure.</p>
  
  <p>Is there a way to resolve this? Basically I just want to have a test for the page that would pass if all underlying module tests pass.</p>