Skip to content

test: Add more tests for conversion API options#375

Open
Abmarne wants to merge 1 commit intodocling-project:mainfrom
Abmarne:main
Open

test: Add more tests for conversion API options#375
Abmarne wants to merge 1 commit intodocling-project:mainfrom
Abmarne:main

Conversation

@Abmarne
Copy link

@Abmarne Abmarne commented Feb 28, 2026

Fix: #350

  • Add tests for different output formats (HTML, TEXT, multiple formats)
  • Add tests for PDF backend options
  • Add tests for OCR options (engine, force OCR)
  • Add tests for table structure options
  • Add tests for image options
  • Add tests for page range and error handling options
  • Add tests for enrichment features (code, formula, picture classification)

@Abmarne Abmarne force-pushed the main branch 2 times, most recently from fb7988a to cc550a3 Compare February 28, 2026 16:18
Increases code coverage by adding tests for various conversion API options.

Closes docling-project#350

- Add tests for different output formats (HTML, TEXT, multiple formats)
- Add tests for PDF backend options
- Add tests for OCR options (engine, force OCR)
- Add tests for table structure options
- Add tests for image options
- Add tests for page range and error handling options
- Add tests for enrichment features (code, formula, picture classification)

Signed-off-by: Abhiraj Marne <abhirajmarne11@gmail.com>
@edeandrea edeandrea changed the title Add more tests for conversion API options test: Add more tests for conversion API options Mar 2, 2026
@edeandrea
Copy link
Contributor

edeandrea commented Mar 2, 2026

Thank you for this @Abmarne !

Could you please take care of the DCO (i.e. signing your commit)? I'm unable to merge this without that.

https://github.com/docling-project/docling-java/pull/375/checks?check_run_id=65253969168

Also, it seems some of the tests are failing.

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

:java_duke: JaCoCo coverage report

There is no coverage information present for the Files changed

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

TestsPassed ✅SkippedFailed
Gradle Test Results (all modules & JDKs)376 ran376 passed0 skipped0 failed
TestResult
No test annotations available

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

HTML test reports are available as workflow artifacts (zipped HTML).

• Download: Artifacts for this run

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.

Increase code coverage

2 participants