From Fedora Project Wiki

Revision as of 13:57, 13 May 2009 by Petersen (talk | contribs)

Description

This test case tests input works correctly for your ibus input method.


How to test

  1. You may want to prepare some test sentences and/or phrases to input preferably mixed with some ASCII (eg English) text including punctuation.
  2. Basic test: input test sentences into various applications you use often.
  3. Switch off/on: try turning the input-method off, input some ASCII, turn on the input-method again and continue to input with the input method.
  4. Focus out/in: move focus to another window (eg with Alt+Tab), input some text there, return to original window and continue your input
  5. Candidate selection tests for Chinese, Japanese and Korean users (who are testing hanja input):
    1. Modify a few characters in your test sentences invoking candidate selection.
    2. Incomplete character handling test: just type part of a character, then perform following sub-tests:
      1. switch on/off:
        1. switch on IM, type an incomplete words, then switch off IM.
        2. Type a few English keys.
        3. switch on IM, then type an different characters
      2. focus in/out: Similar to on/off sub-test, but click on other window to focus out, type a few English word, then focus in by click back on the application.
  6. Pre-edit buffer test $:Type a few complete characters and an incomplete character in pre-edit buffer. Then perform following sub-tests:

Expected Results

  1. Basic test: Committed string should be expected text from your test sentences.
  2. Candidate selection test: Committed string should reflect the modified characters: the expected behaviour may vary somewhat depending on the language being tested.
  3. Incomplete character handling test: Incomplete characters should not appear in the committed string, while other input should be shown as normal.
  4. Pre-edit buffer test: Incomplete characters should not appear, while complete characters should be in the committed string.