zint/frontend/tests
2021-06-02 21:14:14 +09:00
..
cmake/Modules Remove further refs to QZint; win32/README; add zintconfig.h to Win make files 2020-11-24 22:22:12 +00:00
CMakeLists.txt Factor out the zint_add_test macro 2021-06-02 21:14:14 +09:00
README Document the need to set PATH correctly 2021-06-02 21:14:14 +09:00
test_args.c DOTCODE: allow for max 200 cols in CLI, GUI, Tcl; more detailed size error messages 2021-05-28 15:05:06 +01:00

Zint frontend test suite
------------------------

See <project-dir>/backend/tests/README to see how to build the test suite.
In Addition to the setup for the backend tests, the environment needs to be
able to find the `zint` application using that name. In UNIX like systems
this can be configured by prepending the PATH variable with the frontend's
directory inside the build directory:

cd <build-dir>
export PATH=$(pwd)/frontend:${PATH}


------------------------------------------------------------------------------
the frontend test will be automatically run by cmake's ctest, however manual
invocation is also possible:

cd <build-dir>/frontend/test
./test_args

As with the backend tests, individual test functions and single dataset items
can be run using '-f <func-name>' and '-i <index>' etc.