Skip to content
This repository has been archived by the owner on Nov 4, 2019. It is now read-only.

Test protocol

rsms edited this page Jan 11, 2011 · 4 revisions

Test protocol

Perform the following tests before releasing a new official version of Kod.

Basics

  1. Running on a x64 machine
  2. Running on a ia32 machine
  3. Opening large amounts (50+) of documents
  4. 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)
  5. Quitting the application with many windows, each with many (10+) documents

Features

  1. kod:about

    a. Create a new blank document and in the location bar, type "kod:about" and hit ENTER

    b. Confirm the about document is correctly displayed

    c. Close all windows

    d. In the main menu, click "Kod" > "About Kod" and repeat step b.

  2. kod:changelog

    a. Create a new blank document and in the location bar, type "kod:changelog" and hit ENTER

    b. Confirm the changelog document is correctly displayed

  3. 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.

  4. 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

  5. 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"

  6. 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