README 841 B

123456789101112131415161718192021222324
  1. % frontend/tests/README 2024-01-12
  2. Zint frontend test suite
  3. ------------------------
  4. See <project-dir>/backend/tests/README to see how to build the test suite.
  5. In addition to the setup for the backend tests, the environment needs to be
  6. able to find the `zint` application using that name. In UNIX-like systems
  7. this can be configured by prepending the PATH variable with the frontend's
  8. directory inside the build directory:
  9. cd <build-dir>
  10. export PATH=$(pwd)/frontend:${PATH}
  11. ------------------------------------------------------------------------------
  12. the frontend test will be automatically run by cmake's ctest, however manual
  13. invocation is also possible:
  14. cd <build-dir>/frontend/test
  15. ./test_args
  16. As with the backend tests, individual test functions and single dataset items
  17. can be run using '-f <func-name>' and '-i <index>' etc.