spiegel-keyman/linux/ibus-keyman/tests/README.md
Marc Durdin c18ef54029 refactor(common): move core baseline tests into common
Decided to use the name `baseline` for this set of tests. They can be
used by any project in the repo now. Tests will be treated as shared,
and not modified (except in the case of a buggy test).

* Moves .kmn files, add `&NAME` line (don't use meson templating for
  these files)
* Generates reference .kmx files using kmcomp for use as a baseline with
  kmcmplib (kmc) tests, and for linux tests
* Updates references in core, kmcmplib, and linux builds
* Renames all the .kmn / .kmx to use a standardized, clean name format
  (this was needed for building packages in the core tests)
2023-03-28 05:20:45 +07:00

26 lines
746 B
Markdown

# ibus-keyman integration tests
The ibus-keyman integration tests run the tests defined in `common/test/keyboards/baseline`.
The tests run in a separate Xephyr session. Any dconf settings that have to be set during the tests
are stored in `~/.config/glib-2.0/settings/keyfile`.
## Running tests
The tests get run as part of building `ibus-keyman`, more specifically when running `make check`.
### Run all tests
All tests can be run with the test script:
```bash
scripts/run-tests.sh
```
### Run specific tests
To run a single test you pass the testname (as found in
`common/test/keyboards/baseline`). Multiple tests should be separated by space.
```bash
scripts/run-tests.sh -- k_000___null_keyboard k_005___nul_with_initial_context
```