From ce5d37316fabf56a92e064e8d1a41e1911799b2f Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Fri, 20 Nov 2026 14:24:58 -0500 Subject: [PATCH] test(reports): skip the tabbed PDF tests when poppler is missing The two tabbed-part tests from e4043a4d end with a pdftotext check, which throws SkipException on hosts without poppler (the Linux CI runner). As plain [Fact]s that skip was reported as a failure; [SkippableFact] matches the other text-checking tests and still runs the PdfSharp path assertions before the text check. Co-Authored-By: Claude Opus 5.5 --- OpenNest.Tests/Reporting/NestPdfWriterTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenNest.Tests/Reporting/NestPdfWriterTests.cs b/OpenNest.Tests/Reporting/NestPdfWriterTests.cs index f91bc203..6247284e 100644 --- a/OpenNest.Tests/Reporting/NestPdfWriterTests.cs +++ b/OpenNest.Tests/Reporting/NestPdfWriterTests.cs @@ -135,7 +135,7 @@ public sealed class NestPdfWriterTests : IDisposable Assert.Equal(before, NestReportBuilderTests.Fingerprint(nest)); } - [Fact] + [SkippableFact] public void Write_TabbedLeadInPartStrokesEachOpenContourSeparately() { var nest = NestReportTestData.CreateTabbedNest(); @@ -153,7 +153,7 @@ public sealed class NestPdfWriterTests : IDisposable Assert.Contains("1*", ReportPdf.Pages(path)[1]); } - [Fact] + [SkippableFact] public void Write_OutlineInTwoTabbedPiecesFillsAsOneShape() { // A 5 x 1 in bar cut in two pieces around two 0.1 in tabs.