mypomodoro test cases 2.1
TRANSCRIPT
myPomodoroJava Desktop Application
myPomodoro Test Cases
version 2.1
Page 1 of 9 myPomodoro Test Cases
Table of Contents
1. Notes..................................................................................................................................................31.1 Introduction............................................................................................................................3
2. Tests: ToDo List & Timer.....................................................................................................................32.1 Ticking and ringing sounds...........................................................................................................32.2 System Tray icon..........................................................................................................................32.3 Timer............................................................................................................................................42.4 Complete ToDo/Complete All ToDo.............................................................................................52.5 Add unplanned Activity/ToDo......................................................................................................62.6 Pomodoro icons...........................................................................................................................62.6 Empty ToDo List...........................................................................................................................8
Page 2 of 9 myPomodoro Test Cases
1. Notes
1.1 Introduction
These test cases are meant to test myPomodoro where unit tests are of no use.
This is to insure the integrity of the application’s business logic from one version to another.
They must be performed before every release.
Refer to user guide for terms used in this document.
2. Tests: ToDo List & Timer
2.1 Ticking and ringing sounds
Pre-requisites:Type Condition
Preferences Ticking and Ringing options ONToDo List ToDo task selected with 2 estimated Pomodoros
Tests:Action Result
Start Pomodoro Ticking startsStop Pomodoro before end of time Ticking stopsRe-start Pomodoro TickingEnd of Pomodoro RingingDuring break No tickingEnd of break RingingDuring second Pomodoro Ticking
2.2 System Tray icon
Pre-requisites:Type Condition
Preferences System Tray option ONToDo List ToDo task selected with 2 estimated Pomodoros
Tests:Action Result
Start Pomodoro System Tray icon is grayed ( )
Page 3 of 9 myPomodoro Test Cases
During Pomodoro Icon turned into a progress icon ( )Stop Pomodoro before end of time Initial icon ( )Re-start Pomodoro Icon is grayedDuring Pomodoro Progress iconBreak starts Initial iconDuring break Initial iconStart second Pomodoro Icon is grayedDuring second Pomodoro Progress icon
2.3 Timer
Short break:
Pre-requisites:Type Condition
ToDo List ToDo task selected with 1 estimated Pomodoros
Tests:Action Result
Start Pomodoro Timer starts (timer set to Pomodoro Length) ; display message in System Tray (Started)
During Pomodoro CountdownBreak starts Timer starts (timer to Short Break Length) ; display message
in System Tray (short break)During break CountdownEnd of break Timer stops; Start button replaces Stop ; display message in
System Tray (finished)
Long break:
Pre-requisites:Type Condition
Preferences Nb of Pomodoros per Set = 3ToDo List ToDo task selected with 4 estimated Pomodoros
Tests:Action Result
Start Pomodoro 1 Timer starts (timer set to Pomodoro Length)Short break 1 starts Timer starts (timer to Short Break Length) ; display message
in System Tray (short break)Pomodoro 2 starts Timer starts (timer to Pomodoro Length) ; display message
in System Tray (Started)Short break 2 starts Timer starts (timer to Short Break Length) ; display message
in System Tray (short break)Pomodoro 3 starts Timer starts (timer to Pomodoro Length) ; display message
Page 4 of 9 myPomodoro Test Cases
in System Tray (Started)Long break starts Timer starts (timer to Long Break Length) ; display message
in System Tray (long break)Pomodoro 4 starts Timer starts (timer to Pomodoro Length) ; display message
in System Tray (Started)Short break 3 starts Timer starts (timer to Short Break Length) ; display message
in System Tray (short break)End of break Timer stops; Start button replaces Stop ; display message in
System Tray (finished)
2.4 Complete ToDo/Complete All ToDo
Real Pomodoro:
Pre-requisites: Same as Timer > Short break pre-requisites
Tests:Action Result
Run Timer > Short break tests until Pomodoro is done
1 real Pomodoro
Complete ToDo/Complete All ToDo ToDo task/All tasks moved to Report List
No real Pomodoro:
Pre-requisites: See Timer > Short break pre-requisites
Tests:Action Result
(do not start Pomodoro)Complete ToDo/Complete All ToDo
Warning message (no real Pomodoro)/Confirmation message
Confirm ToDo task/All tasks moved to Report List
Real and no real Pomodoros:
Pre-requisites: See Timer > Long break pre-requisites
Tests:Action Result
Run Timer > Long break tests until 2 Pomodoros are done
2 real Pomodoros
During break, complete ToDo/Complete All ToDo
ToDo task/All tasks moved to Report List
Page 5 of 9 myPomodoro Test Cases
Complete while Pomodoro running:
Pre-requisites: See Timer > Long break pre-requisites
Tests:Action Result
Run Timer > Long break tests until Pomodoro 2 running
1 real Pomodoro
Complete ToDo/Complete All ToDo Error message (Pomodoro running, can’t complete)Stop Pomodoro Warning message (stopping Pomodoro, record interruption)Confirm Pomodoro stopped; Start button replaces Stop ; display
message in System Tray (stopped)Complete ToDo/Complete All ToDo ToDo task/All tasks moved to Report List
2.5 Add unplanned Activity/ToDo
Pre-requisites: Same as Timer > Short break pre-requisites
Tests:Action Result
Start Pomodoro* Pomodoro startedStop Pomodoro* Warning message (stopping Pomodoro, record interruption)Confirm* Pomodoro stopped; Start button replaces Stop ; display
message in System Tray (stopped)Open Unplanned tab and fill out the form: select interruption (Internal or External), set date to today (default) and title
Message (unplanned ToDo added to ToDo List)
Open Unplanned tab and fill out the form: select interruption (Internal or External), set date to tomorrow and title
Message (unplanned Activity added to Activity List)
* Optional steps to create unplanned activities/ToDo in myPomodoro; although required by the Pomodoro Technique®
2.6 Pomodoro icons
Code colors:
When a Pomodoro is started, and while it is running, the following areas turn RED in color:
Timer
Page 6 of 9 myPomodoro Test Cases
Start button ToDo’s title on the ToDo list ToDo’s title below the timer ToDo’s title on top of the Unplanned tab OR on top of all tabs is the ToDo is selected
in the list
When all the Pomodoros of a ToDo are finished, the ToDo’s title turns GREEN in color.
In any other case, BLACK color is used.
Select Pomodoro:
Pre-requisites: Type Condition
ToDo List ToDo tasks: ToDo 1 with 2 estimated Pomodoros ToDo 2 with 4 estimated Pomodoros
Tests:Action Result
Select ToDo 1 ToDo 1’s title and icons representing estimated Pomodoros ( ) appear below the timer and on top of all tabs
(Details…)Select ToDo 2 ToDo 2’s title and icons ( ) appear below the timer
and on top of all tabsSelect ToDo 1 and start Pomodoro ToDo 1’s title and icons ( ) appear below the timer and
on top of all tabsWhile ToDo 1’s Pomodoro is running, select ToDo 2
ToDo 2’s title and icons ( ) appear on top of the Details, Comment and Overestimation tabs. ToDo 1’s title and icons ( ) appear below the timer and on top of the Unplanned tab
End of ToDo 1’s Pomodoro ToDo 2’s title and icons ( ) appear on top of the Details, Comment and Overestimation tabs. ToDo 1’s title and icons representing real and estimated Pomodoros ( ) refreshed below the timer and on top of the Unplanned tab
During break, select ToDo 2 ToDo 2’s title and icons ( ) appear below the timer and on top of all tabs
End of ToDo 2’s Pomodoro ToDo 2’s title and icons ( ) refreshed below the timer and on top of all tabs
Overestimate:
Pre-requisites: Same as Pomodoros icons > Select Pomodoro
Tests:Action Result
Page 7 of 9 myPomodoro Test Cases
Select ToDo 1, open the Overestimation tab and add 1 Pomodoro
ToDo 1’s title and icons representing estimated and overestimated Pomodoros ( ) refreshed below the timer and on top of all tabs
Start ToDo 1, select ToDo 2, open the Overestimation tab and add 2 Pomodoros
ToDo 2’s title and icons ( ) refreshed on top of the Details, Comment and Overestimation tabs. ToDo ToDo 1’s title and icons ( ) appear below the timer and on top of the Unplanned tab
Select ToDo 1, open the Overestimation tab and add 3 Pomodoros
ToDo 2’s title and icons ( ) appear on top of the Details, Comment and Overestimation tabs. ToDo 1’s title and icons ( ) refreshed below the timer and on top of the Unplanned tab
Add interruption:
Pre-requisites: Same as Pomodoros icons > Select Pomodoro
Tests:Action Result
Select ToDo 1, open the Unplanned tab and create unplanned ToDo with Internal interruption
ToDo 1’s title and icons representing estimated Pomodoros and internal interruption ( ) appear below the timer and on top of all tabs
Create unplanned ToDo with External interruption
ToDo 1’s title and icons representing estimated Pomodoros and internal and external interruptions ( ) refreshed below the timer and on top of all tabs
Start ToDo 1, select ToDo 2, open the Unplanned tab and create unplanned ToDo with Internal interruption (do not stopped ToDo 1*)
ToDo 2’s title and icons ( ) appear on top of the Details, Comment and Overestimation tabs. ToDo 1’s title and icons ( ) refreshed below the timer and on top of the Unplanned tab
Create unplanned ToDo with External interruption (do not stopped ToDo 1*)
ToDo 2’s title and icons ( ) appear on top of the Details, Comment and Overestimation tabs. Pomodoro 1’s title and icons ( ) refreshed below the timer and on top of Unplanned tab
Select ToDo 1 ToDo 1’s title and icons ( ) appear below the timer and on top of all tabs
* Not recommended by the Pomodoro Technique®
2.6 Empty ToDo List
Pre-requisites: Same as Timer > Short break pre-requisites
Tests:Action Result
Run Timer > Short break tests until Pomodoro is running
1 estimated Pomodoro ( )
Page 8 of 9 myPomodoro Test Cases
Move ToDo from ToDo List to Activity List (Manager)
ToDo List is emptied. Timer and tab are refreshed: title and icons of Pomodoro removed; Start button replaces Stop
Run Timer > Short break tests until Pomodoro is done
1 real Pomodoro ( )
Complete ToDo OR move ToDo from ToDo List to Activity List (Manager)
ToDo List is emptied. Timer and tab are refreshed: title and icons of Pomodoro removed
Start Timer Timer does not startComplete No confirm message (do nothing)Comment No confirm message (do nothing)Overestimate No confirm message (do nothing)Create unplanned ToDo ToDo created; interruption ignored
Page 9 of 9 myPomodoro Test Cases