-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Goals:
- Achieve at least 80% code coverage
Update I'm migrating to playwright, as the wdio-vscode-service is poorly maintained. This requires a substantial refactoring of my tests. Progress on new testing will resume once I've made this migration
Migration Steps:
- migrate to new build/testing environment
- Reimplement existing tests as either unit or integration tests, as appropriate:
- captureKeys.ux.mts
- commandState.ux.mts
- config.ux.mts
- configEdit.ux.mts
- markdownDocs.ux.mts
- palette.ux.mts
- replay.ux.mts
- searchMotions.ux.mts
- simpleMotion.ux.mts
- simpleMotionLayout.ux.mts
- visualDocs.ux.mts
Prioritized
- use of global state in commands
-
editorHasSelection
-
editorHasMultipleSelection
-
firstSelectionOrWord
-
-
onType
fields of[[mode]]
Backlog
- any missing parsing edge cases from "normal" tests (move them to UX tests): WARN: don't make these tests before we introduce the new parsing approach
- commands
- macros: recording and replaying edits
- nested macros
- multiple cursors
- starting with insert mode
- cross-document recording
- macros: recording and replaying edits
- empty search string
- premature end of capture and search using enter
- escaping a search
Completed
- palette
- combine keys
- zero-length palette
- a-contextual palette
- palette mode toggle (?)
- commands: Add
master-key.do
tests forif
andrepeat
#47- usage of
if
field - error for malformed
repeat
expression
- usage of
- visualKey
- setFlags
setFlag
tests #45 - Tests for
store/restoreNamed
#28
Metadata
Metadata
Assignees
Labels
No labels