mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 15:26:55 +03:00
14 lines
301 B
C#
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";
|
|
}
|
|
}
|
|
} |