Skip to content

add assertion helpers - #5

Closed
SirCotare wants to merge 1 commit into
mainfrom
ab-299-from-aichner-to-boilerplate-assertion-helpers
Closed

add assertion helpers#5
SirCotare wants to merge 1 commit into
mainfrom
ab-299-from-aichner-to-boilerplate-assertion-helpers

Conversation

@SirCotare

Copy link
Copy Markdown
Member

No description provided.

@SirCotare SirCotare self-assigned this Sep 30, 2024
Comment thread pom.xml
Comment on lines +47 to +64
<!-- PDF -->
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>3.0.3</version>
</dependency>
<dependency>
<groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-pdf</artifactId>
<version>9.9.4</version>
</dependency>

<!-- DOCX / XLSX -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>5.3.0</version>
</dependency>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really want to add those dependencies to the project? We might not have PDF and Docx / Xlsx in all our projects.

@alexlanz @Piiit Wdyt?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally would not add it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It only adds those dependencies to the test code because this library gets imported with scope test. Flying Saucer is unnecessary indeed. I will remove it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PDF is quite common, maybe that is used in most projects, and could therefore be added, would not add the other two... nevertheless, we could have separate libs to handle such files, and those libs could then have testing tools.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I'll consider this PR to be rejected and close it then.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about that, would add the PDF assert in the meantime, until we have a dedicated lib... wdyt?

@SirCotare SirCotare closed this Oct 1, 2024
@SirCotare
SirCotare deleted the ab-299-from-aichner-to-boilerplate-assertion-helpers branch October 1, 2024 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants