StateTransitionTestCases
Introduction
This specification should outline test cases for the logic and functionality of each state of the installer and the transition between these states. This suite of test cases should be independent and not care if either the installation completes or the functionality of other states of the installer.
Installation functionality is covered in the installation testcases.
Approval
Author |
|
|
Dan Chapman |
Ubuntu Member |
|
Approved By |
|
|
<name> |
< lp profile > |
< position > |
|
|
|
Related Documents
Ref # |
Document Name |
Link |
01 |
Installer Design - Ubuntu Installation Process |
|
02 |
Test Analysis and Specification for Ubiquity |
|
03 |
Ubiquity Test Plan |
|
04 |
Installation Test Cases |
Contents
- Introduction
- Approval
- Related Documents
- Considerations
- Global Test Cases
- Page Transition Test Cases
- Welcome Page Test Cases
- Connect Wireless Page Test Cases
- Preparing Page Test Cases
- Installation Type Page Test Cases
- Encryption Page Test Cases
- Advanced Partition Page Test Cases
- Location Page Test Cases
- Keyboard Layout Page Test Cases
- User Info Page Test Cases
- Ubuntu One Page Test Cases
- Progress Page Test Cases
- Completion Dialog Test Cases
Considerations
Initially we will use a simple set of test cases, because ultimately we want to test that the installation is successful over testing logical functionality. Simple test cases are needed in order for the Installation Test Cases to be successful.
This document will be a work in progress and more test cases for logical functionality will be added once we have solid stable installation test cases.
State Trasition Diagram
Link to state transition diagram
Seperating Test Cases
To make testing each state of Ubiquity easier we can separate the UI into two sections. As you can see in the sections below we have objects that are present throughout the installation and objects that a relevant to a particular state of the installer. By separating them like this we can generate test cases for either Section 1, which would be test cases that should be run on every state of the installer, and Section 2 which would be test cases that are only run on a particular state of the installation.
There are situations throughout the install where Section 2 test cases will need to access the objects in Section 1 which should be handled gracefully.
Section 1
Objects that are present throughout the install
Section 2
Each step of the installer is embedded into a page of a GtkNotebook, which we can use to separate each step from each other as well as objects present throughout
Global Test Cases
Page Transition Test Cases
Welcome Page Test Cases
Connect Wireless Page Test Cases
Preparing Page Test Cases
Installation Type Page Test Cases
Encryption Page Test Cases
Advanced Partition Page Test Cases
Location Page Test Cases
Keyboard Layout Page Test Cases
User Info Page Test Cases
Ubuntu One Page Test Cases
Progress Page Test Cases