IDE Test Cases

From SalasagaWiki

Jump to: navigation, search

[edit] List of Test Cases

  • Test 01 - Enabling / disabling menu items
    • This tests if the Project, Slide, Layer and Export top menu items are being enabled and disabled correctly in English and non English languages
    1. Start the IDE in English
      1. $ export LANG=en_AU.UTF-8
      2. $ salasaga
    2. Verify the Project, Slide, Layer, and Export top menu items are disabled
    3. Load a project
    4. Verify the Project, Slide, Layer, and Export top menu iterms are enabled
    5. Close the project
    6. Verify the Project, Slide, Layer, and Export top menu items are disabled
    7. Import a screenshot
    8. Verify the Project, Slide, Layer, and Export top menu items are enabled
    9. Quit the IDE
    10. Start the IDE in Bulgarian
      1. $ export LANG=bg_BG.UTF-8
      2. $ salasaga
    11. Verify the Проект, Слайд, Слой, and Изнеси top menu items are disabled
    12. Load a project
    13. Verify the Проект, Слайд, Слой, and Изнеси top menu items are enabled
    14. Close the project
    15. Verify the Проект, Слайд, Слой, and Изнеси top menu items are disabled
    16. Import a screenshot
    17. Verify the Проект, Слайд, Слой, and Изнеси top menu items are enabled
    18. Quit the IDE
  • Test 02 - English "Fit to width" string in Zoom selector
    • This tests if the English "Fit to width" zoom level is being correctly used and understood by the interface
    1. Start the IDE in English
      1. $ export LANG=en_AU.UTF-8
      2. $ salasaga
    2. Verify the last option in the zoom selector in the middle of the status bar is in English "Fit to width"
    3. Open the Preferences Dialog (Edit -> Preferences)
    4. Verify the last option in the "Default Zoom Level" selector is in English "Fit to width"
    5. Change the "Default Zoom Level" to be "100%", then click OK
    6. Quit the IDE
    7. Start the IDE in English again
      1. $ salasaga
    8. Verify the last option in the zoom selector in the middle of the status bar is "100%"
    9. Open the Preferences Dialog (Edit -> Preferences)
    10. Change the "Default Zoom Level" to be "Fit to width", then click OK
    11. Quit the IDE
    12. Start the IDE in English again
      1. $ salasaga
    13. Verify the last option in the zoom selector in the middle of the status bar is "Fit to width"
  • Test 03 - Localised "Fit to width" string in Zoom selector
    • This tests if the localised "Fit to width" zoom level (ie "Поместване в ширината" in Bulgarian) is being correctly used and understood by the interface
    1. Start the IDE in Bulgarian
      1. $ export LANG=bg_BG.UTF-8
      2. $ salasaga
    2. Verify the last option in the zoom selector in the middle of the status bar is "Поместване в ширината"
    3. Open the Preferences Dialog (Редактиране -> Настройки)
    4. Verify the last option in the "Ниво на приближение по подразбиране" selector is "Поместване в ширината"
    5. Change the "Ниво на приближение по подразбиране" to be "100%", then click OK
    6. Quit the IDE
    7. Start the IDE in Bulgarian again
      1. $ salasaga
    8. Verify the last option in the zoom selector in the middle of the status bar is "100%"
    9. Open the Preferences Dialog (Редактиране -> Настройки)
    10. Change the "Ниво на приближение по подразбиране" to be "Поместване в ширината", then click OK
    11. Quit the IDE
    12. Start the IDE in Bulgarian again
      1. $ salasaga
    13. Verify the last option in the zoom selector in the middle of the status bar is "Поместване в ширината"


[edit] Results of Test Case Runs

Source code snapshot Test 01 Test 02 Test 03
2009-11-29 ??:??  ?  ?  ?
Personal tools