title: How to dynamically skip a test with Xunit 2.0?
body: <p>Xunit 1.9.x provides the user with the <strong><a href="https://github.com/xunit/xunit/blob/v1/samples/AssertExamples/DynamicSkipExample.cs" rel="noreferrer">DynamicSkipExample.cs</a></strong> example to help him setting up dynamic skipping of a <code>[Fact]</code>.</p>
  
  <p>This has proven to be quite useful when performing some cross-platform development. This allows a test to be temporarily ignored when it cannot be properly run because of the underlying context (OS, filesystem, ...).</p>
  
  <p>However, this example has been dropped in commit <strong><a href="https://github.com/xunit/xunit/commit/2deeff5cb60bdb8c12fd4f3cfaa38035cdbc7ba6" rel="noreferrer">2deeff5</a></strong> on the road to version 2.0.</p>
  
  <p>How can one re-implement such a functionality through one of the extensibility points of Xunit 2.0?</p>
  
  <p><strong>Note:</strong> An issue about this topic has been raised in the xUnit tracker. See <strong><a href="https://github.com/xunit/xunit/issues/250" rel="noreferrer">xunit/xunit#250</a></strong>.</p>