mirror of
https://github.com/cyanfish/naps2.git
synced 2024-08-17 19:20:29 +03:00
14 lines
307 B
C#
14 lines
307 B
C#
|
using Xunit;
|
||
|
|
||
|
namespace NAPS2.Sdk.ScannerTests;
|
||
|
|
||
|
public sealed class ScannerFactAttribute : FactAttribute
|
||
|
{
|
||
|
public ScannerFactAttribute()
|
||
|
{
|
||
|
if (!Debugger.IsAttached)
|
||
|
{
|
||
|
Skip = "Scanner tests can only run when debugging as they require user interaction.";
|
||
|
}
|
||
|
}
|
||
|
}
|