Skip to content

No test coverage for PDF/ODT export/import #4160

Description

@JohnMcLear

PDF/ODT import test coverage does not exist because we can't afford soffice is available in test environments.

2 options.

  1. Move PDF/ODT export out of settings.json and into a plugin. Advantage is the plugin can specify to do the test.
  2. Make Travis install LibreOffice - completed in: Libreoffice travis #4159

So next thing is to write tests to cover PDF / ODT export / import. I'm not sure ohw to write import tests but export would be easy, set some HTML, have an expected ODT output (string) and compare the two after running an export of a pad.

Activity

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