-
Notifications
You must be signed in to change notification settings - Fork 167
Test protocol
Perform the following tests before releasing a new official version of Kod.
- Running on a x64 machine
- Running on a ia32 machine
- Opening large amounts (50+) of documents
- Closing a window with a large amount (50+) documents (Note: we know about an unresolved, hard-to-reproduce bug which might surface here, causing a crash in chromium-tabs)
- Quitting the application with many windows, each with many (10+) documents
-
kod:about
a. Create a new blank document and in the location bar, type "
kod:about
" and hit ENTERb. Confirm the about document is correctly displayed
c. Close all windows
d. In the main menu, click "Kod" > "About Kod" and repeat step b.
-
kod:changelog
a. Create a new blank document and in the location bar, type "
kod:changelog
" and hit ENTERb. Confirm the changelog document is correctly displayed
-
Switching syntax mode (in the main menu: View > Syntax mode):
a. Confirm the source file is correctly displayed
b. Switch to another syntax
c. Switch back to the initial syntax and confirm everything is displayed as it was during step a.
-
Text indentation
a. Create a new blank document
b. Enter the text "foo" and press ENTER
c. Confirm that the new line starts at the first column
d. Press the TAB key and confirm that the correct indentation string (this can be customized) is inserted
e. Type the text "bar" and press ENTER
f. Confirm that the new line starts with the same indentation string as the previous line
-
Word completion
a. Create a new blank document
b. Enter the text "foo bar foo fred help f" and press the ESC key
c. Confirm that there are two suggestions to complete "f"; first "foo", then "fred"
-
Asking to save modified, unsaved documents
a. Create a new blank document
b. Insert the text "foo"
c. Press Cmd+W and confirm that a dialog is presented asking you to save the document
d. First repeat step a. and b., then press Cmd+Shift+W and confirm that a dialog is presented asking you to save the document (and any other modified documets)
e. First repeat step a. and b., then press Cmd+Q and confirm that a dialog is presented asking you to save the document (and any other modified documets)
Note: this test procedure need to be improved and extended