Running tests requires native posix support. Any folder under
native_posix.keymap will be selected when running
Creating a New Test Set
- Copy the test set that most closely resembles the tests you will be creating.
- Rename the newly created test set to the behavior you're testing e.g, toggle-layer
behavior_keymap.dtsito create a keymap using the behavior and related behaviors
test_case/native_posix.keymapfor a simulated use case
test_case/events.patternsto collect relevant logs to the test
test_case/keycode_events.snapshotfor to include the expected output
- Rename the
test_casefolder to describe the test.
- Repeat steps 4 to 7 for every test case