From 031991f32f059b64374e6d257cbe573304dd577f Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 13 May 2022 11:40:45 -0500 Subject: Add ability to skip tests at runtime, and skip long running cache tests 6665 --- .../XunitExtensions/SkippableTheoryAttribute.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/internal/WixBuildTools.TestSupport/XunitExtensions/SkippableTheoryAttribute.cs (limited to 'src/internal/WixBuildTools.TestSupport/XunitExtensions/SkippableTheoryAttribute.cs') diff --git a/src/internal/WixBuildTools.TestSupport/XunitExtensions/SkippableTheoryAttribute.cs b/src/internal/WixBuildTools.TestSupport/XunitExtensions/SkippableTheoryAttribute.cs new file mode 100644 index 00000000..e026bb59 --- /dev/null +++ b/src/internal/WixBuildTools.TestSupport/XunitExtensions/SkippableTheoryAttribute.cs @@ -0,0 +1,12 @@ +// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. + +namespace WixBuildTools.TestSupport.XunitExtensions +{ + using Xunit; + using Xunit.Sdk; + + [XunitTestCaseDiscoverer("WixBuildTools.TestSupport.XunitExtensions.SkippableFactDiscoverer", "WixBuildTools.TestSupport")] + public class SkippableTheoryAttribute : TheoryAttribute + { + } +} -- cgit v1.2.3-55-g6feb