Skip to content

Add tests #1

Open
Open

Description

@fabriciojs

Yep, tests would be great.

Activity

  1. changed the title [-]Add tests with full coverage[/-] [+]Add tests[/+] on Oct 7, 2020
  2. dbpolito commented on Nov 13, 2026

    @dbpolito
    Member

    Initial coverage is now proposed in #27: seven offline tests exercise the actual HTML-to-PDF route, including input validation, fixed compression argv, output-path isolation, asynchronous compression failure fallback, and cleanup. The PR also adds CI on pull requests.

    Keeping this issue open: these tests stub Chromium, filesystem writes, and the compression process. Real PDF-generation/Chromium integration, image compatibility, graceful shutdown, and broader endpoint coverage still need their own tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions