Skip to content

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

@JohnMcLear

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.

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