From Fedora Project Wiki

No edit summary
No edit summary
Line 4: Line 4:
# You may want to prepare some test sentences and/or phrases to input preferably mixed with some ASCII (eg English) text including punctuation.
# You may want to prepare some test sentences and/or phrases to input preferably mixed with some ASCII (eg English) text including punctuation.
# Basic test: input test sentences into various applications you use often.
# Basic test: input test sentences into various applications you use often.
# 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.
# Additional tests for Chinese, Japanese and Korean users (who are testing hanja input):
# Focus out/in: move focus to another window (eg with Alt+Tab), input some text there, return to original window and continue your input
# Candidate selection tests for Chinese, Japanese and Korean users (who are testing hanja input):
## Modify a few characters in your test sentences invoking candidate selection.
## Modify a few characters in your test sentences invoking candidate selection.
## Incomplete character handling test: just type part of a character, then perform following sub-tests:
## Incomplete character handling tests:
### switch on/off:
### switch off/on:
#### switch on IM, type an incomplete words, then switch off IM.
#### switch on IM, type an incomplete word and then switch off IM.
#### Type a few English keys.
#### type a few English keys.
#### switch on IM, then type an different characters
#### switch on IM again, then input a different character
### 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.
### focus out/in: Similar to the previous on/off subtest, but switch focus to another window with the mouse to focus out, type a few English words, then focus back on the application with the mouse.
# Pre-edit buffer test [[#Remark$|$]]:Type a few complete characters and an incomplete character in pre-edit buffer. Then perform following sub-tests:
## Pre-edit buffer test: type a few complete characters and an incomplete character in pre-edit buffer. Then perform the following sub-tests:
### Switch off/on: with some pre-edit text try turning off the input-method, input some ASCII text, turn on the input-method again and continue to input with the input method.
### Focus out/in: with some pre-edit test switch focus to another window with the mouse, input some text there, return to your application and continue your input
|results=
|results=
# Basic test: Committed string should be expected text from your test sentences.
# Basic test: Committed string should be expected text from your test sentences.

Revision as of 14:11, 13 May 2009

Description

This test-case is to check that 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. Additional 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 tests:
      1. switch off/on:
        1. switch on IM, type an incomplete word and then switch off IM.
        2. type a few English keys.
        3. switch on IM again, then input a different character
      2. focus out/in: Similar to the previous on/off subtest, but switch focus to another window with the mouse to focus out, type a few English words, then focus back on the application with the mouse.
    3. Pre-edit buffer test: type a few complete characters and an incomplete character in pre-edit buffer. Then perform the following sub-tests:
      1. Switch off/on: with some pre-edit text try turning off the input-method, input some ASCII text, turn on the input-method again and continue to input with the input method.
      2. Focus out/in: with some pre-edit test switch focus to another window with the mouse, input some text there, return to your application and continue your input

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.