mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-23 00:57:41 -05:00
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
7c1b7a30f5
commit
ce5d37316f
1 file changed
+2
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user