diff --git a/Cronitor.Tests/Cronitor.Tests.csproj b/Cronitor.Tests/Cronitor.Tests.csproj
index df84e63..77f9eb7 100644
--- a/Cronitor.Tests/Cronitor.Tests.csproj
+++ b/Cronitor.Tests/Cronitor.Tests.csproj
@@ -10,14 +10,15 @@
net9.0;net8.0;net48
false
true
+ Exe
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/Cronitor.Tests/CronitorTests.cs b/Cronitor.Tests/CronitorTests.cs
index 6faf459..029d06e 100644
--- a/Cronitor.Tests/CronitorTests.cs
+++ b/Cronitor.Tests/CronitorTests.cs
@@ -17,7 +17,7 @@ public void ShouldConfigureCronitor()
Assert.NotNull(Cronitor.Telemetries);
}
- [Fact]
+ [Fact(Explicit = true)]
public void ShouldThrowExceptionIfNotConfigured()
{
Assert.Throws(() => Cronitor.Issues);
diff --git a/Cronitor.Tests/Helpers/JsonDataAttribute.cs b/Cronitor.Tests/Helpers/JsonDataAttribute.cs
index d9f33ee..9cce449 100644
--- a/Cronitor.Tests/Helpers/JsonDataAttribute.cs
+++ b/Cronitor.Tests/Helpers/JsonDataAttribute.cs
@@ -3,7 +3,10 @@
using System.IO;
using System.Reflection;
using System.Text;
+using System.Threading.Tasks;
+using Xunit;
using Xunit.Sdk;
+using Xunit.v3;
namespace Cronitor.Tests.Helpers
{
@@ -16,14 +19,20 @@ public JsonDataAttribute(string filePath)
_filePath = filePath;
}
- public override IEnumerable