naps2/NAPS2.App.Tests/GuiTheoryAttribute.cs
2022-12-25 13:15:31 -08:00

14 lines
301 B
C#

using Xunit;
namespace NAPS2.App.Tests;
public class GuiTheoryAttribute : TheoryAttribute
{
public GuiTheoryAttribute()
{
if (Environment.GetEnvironmentVariable("NAPS2_TEST_NOGUI") == "1")
{
Skip = "Running in headless mode, skipping GUI tests";
}
}
}