spiegel-keyman/linux/ibus-keyman/tests
Eberhard Beilharz ae9cb97ce6 fix(linux): Improve ibus-keyman tests
This change will hopefully help some tests that occasionally fail
on TC. After setting the options during the test setup we sync the
settings before running the test scenario.
2021-12-14 14:10:58 +01:00
..
.gitignore chore(linux): Add integration tests for ibus-keyman 2021-11-04 09:22:28 +01:00
ibusimcontext.c chore(linux): add non-surrounding-text feature to tests 2021-12-03 17:23:35 +01:00
ibusimcontext.h chore(linux): add non-surrounding-text feature to tests 2021-12-03 17:23:35 +01:00
Makefile.am feat(windows): add kmx_conversion.cpp to test Makefile.am 2021-11-29 10:56:53 +10:00
README.md chore(linux): Improve run-tests.sh script 2021-11-22 15:40:17 +01:00
run-tests.sh chore(linux): add non-surrounding-text feature to tests 2021-12-03 17:23:35 +01:00
testfixture.cpp fix(linux): Improve ibus-keyman tests 2021-12-14 14:10:58 +01:00
testmodule.c chore(linux): Add integration tests for ibus-keyman 2021-11-04 09:22:28 +01:00
testmodule.h chore(linux): set options before running test 2021-11-05 16:26:04 +01:00

ibus-keyman integration tests

The ibus-keyman integration tests run the tests defined in common/core/desktop/tests/unit/kmx. 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:

./run-tests.sh

Run specific tests

To run a single test you pass the testname (as found in common/core/desktop/build/arch/*/tests/unit/kmx). Multiple tests should be separated by space.

./run-tests.sh -- k_000___null_keyboard k_005___nul_with_initial_context