mirror of
https://github.com/cyanfish/naps2.git
synced 2024-10-05 20:07:42 +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";
|
|
}
|
|
}
|
|
} |