Search Results for

    Show / Hide Table of Contents

    Assert.Ignore

    The Assert.Ignore method provides you with the ability to dynamically cause a test or suite to be ignored at runtime. It may be called in a test, setup or fixture setup method. We recommend that you use this only in isolated cases. The category facility is provided for more extensive inclusion or exclusion of tests or you may elect to simply divide tests run on different occasions into different assemblies.

    Assert.Ignore();
    Assert.Ignore(string message);
    

    See Also

    • Assert.Pass
    • Assert.Fail
    • Assert.Inconclusive
    • Edit this page
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0