Skip to content

Integration tests for the veraPDF project.

Notifications You must be signed in to change notification settings

veraPDF/veraPDF-integration-tests

Repository files navigation

veraPDF-integration-tests

Build Status CodeCov Coverage Codacy Badge

GitHub issues GitHub issues GitHub issues GitHub issues

Licensing

The veraPDF PDF/A Validation Library is dual-licensed, see:

Documentation

See the veraPDF documentation site.

Quick Start

Pre-requisites

In order to build the library you'll need:

Life will be easier if you also use Git to obtain and manage the source.

Please Read

Here are some of the testing tools we use, it's currently a project used by the veraPDF development team. Instructions are currently sparse but will be improved.

Producing HTML test reports

The project's Maven build produces HTML reports, currently to stdout as well as a set of files. To checkout the project and produce the test files locally:

git clone https://github.com/veraPDF/veraPDF-integration-tests.git
cd veraPDF-integration-tests
mvn clean install
ls target/test-results/

BFO-2b          veraPDF-1a      veraPDF-2b      veraPDF-4       veraPDF-ua1
Isartor-1b      veraPDF-1b      veraPDF-2u      veraPDF-4e      index.html
TWG-0           veraPDF-2a      veraPDF-3b      veraPDF-4f

index.html can be opened in a browser and show the test results in a table with green cells for successful tests and red cells for failed tests.

Running regression tests

The project's Maven build generates .jar files that run regression tests for PDF and WCAG validation.

To run regression tests after project's Maven build:

cd veraPDF-pdf-regression-tests/target/
java -jar veraPDF-pdf-regression-tests-${project.version}.jar

cd ../../veraPDF-wcag-regression-tests/target/
java -jar veraPDF-wcag-regression-tests-${project.version}.jar

Where ${project.version} is the last development or release version. Regression test results will be produced to stdout.