Vous êtes sur la page 1sur 9

myPomodoro

Java Desktop Application


myPomodoro Test Cases
version 2.1
Page 1 of 9 myPomodoro Test Cases
Table of Contents
1. Notes.................................................................................................................. 3
1.1 Introdction............................................................................................... 3
2. Tests! ToDo "ist # Timer..................................................................................... 3
2.1 Tickin$ and rin$in$ sonds........................................................................... 3
2.2 %ystem Tray icon........................................................................................... 3
2.3 Timer............................................................................................................. &
2.& Complete ToDo'Complete All ToDo................................................................(
2.( Add nplanned Activity'ToDo........................................................................ )
2.) Pomodoro icons............................................................................................. )
2.) *mpty ToDo "ist............................................................................................ +
Page 2 of 9 myPomodoro Test Cases
1. Notes
1.1 Introduction
T,ese test cases are meant to test myPomodoro -,ere nit tests are of no se.
T,is is to insre t,e inte$rity of t,e application.s bsiness lo$ic from one version
to anot,er.
T,ey mst be performed before every release.
/efer to ser $ide for terms sed in t,is docment.
2. Tests: ToDo List & Timer
2.1 Ticking and ringing sounds
Pre0re1isites!
Type Condition
Preferences Tickin$ and /in$in$ options 2N
ToDo "ist ToDo task selected -it, 2 estimated Pomodoros
Tests!
Action /eslt
%tart Pomodoro Tickin$ starts
%top Pomodoro before end of
time
Tickin$ stops
/e0start Pomodoro Tickin$
*nd of Pomodoro /in$in$
Drin$ break No tickin$
*nd of break /in$in$
Drin$ second Pomodoro Tickin$
2.2 System Tray icon
Pre0re1isites!
Type Condition
Preferences %ystem Tray option 2N
ToDo "ist ToDo task selected -it, 2 estimated Pomodoros
Tests!
Action /eslt
%tart Pomodoro %ystem Tray icon is $rayed 3 4
Page 3 of 9 myPomodoro Test Cases
Drin$ Pomodoro Icon trned into a pro$ress icon 3 4
%top Pomodoro before end of
time
Initial icon 3 4
/e0start Pomodoro Icon is $rayed
Drin$ Pomodoro Pro$ress icon
5reak starts Initial icon
Drin$ break Initial icon
%tart second Pomodoro Icon is $rayed
Drin$ second Pomodoro Pro$ress icon
2.3 Timer
Short break!
Pre0re1isites!
Type Condition
ToDo "ist ToDo task selected -it, 1 estimated Pomodoros
Tests!
Action /eslt
%tart Pomodoro Timer starts 3timer set to Pomodoro "en$t,4 6
display messa$e in %ystem Tray 3%tarted4
Drin$ Pomodoro Contdo-n
5reak starts Timer starts 3timer to %,ort 5reak "en$t,4 6
display messa$e in %ystem Tray 3s,ort break4
Drin$ break Contdo-n
*nd of break Timer stops6 %tart btton replaces %top 6 display
messa$e in %ystem Tray 37nis,ed4
Long break!
Pre0re1isites!
Type Condition
Preferences Nb of Pomodoros per %et 8 3
ToDo "ist ToDo task selected -it, & estimated Pomodoros
Tests!
Action /eslt
%tart Pomodoro 1 Timer starts 3timer set to Pomodoro "en$t,4
%,ort break 1 starts Timer starts 3timer to %,ort 5reak "en$t,4 6
display messa$e in %ystem Tray 3s,ort break4
Pomodoro 2 starts Timer starts 3timer to Pomodoro "en$t,4 6 display
messa$e in %ystem Tray 3%tarted4
%,ort break 2 starts Timer starts 3timer to %,ort 5reak "en$t,4 6
display messa$e in %ystem Tray 3s,ort break4
Pomodoro 3 starts Timer starts 3timer to Pomodoro "en$t,4 6 display
messa$e in %ystem Tray 3%tarted4
Page 4 of 9 myPomodoro Test Cases
"on$ break starts Timer starts 3timer to "on$ 5reak "en$t,4 6
display messa$e in %ystem Tray 3lon$ break4
Pomodoro & starts Timer starts 3timer to Pomodoro "en$t,4 6 display
messa$e in %ystem Tray 3%tarted4
%,ort break 3 starts Timer starts 3timer to %,ort 5reak "en$t,4 6
display messa$e in %ystem Tray 3s,ort break4
*nd of break Timer stops6 %tart btton replaces %top 6 display
messa$e in %ystem Tray 37nis,ed4
2.4 om!"ete ToDo#om!"ete $"" ToDo
%ea" &omodoro!
Pre0re1isites!
%ame as Timer 9 %,ort break pre0re1isites
Tests!
Action /eslt
/n Timer 9 %,ort break tests
ntil Pomodoro is done
1 real Pomodoro
Complete ToDo'Complete All
ToDo
ToDo task'All tasks moved to /eport "ist
No rea" &omodoro!
Pre0re1isites!
%ee Timer 9 %,ort break pre0re1isites
Tests!
Action /eslt
3do not start Pomodoro4
Complete ToDo'Complete All
ToDo
:arnin$ messa$e 3no real
Pomodoro4'Con7rmation messa$e
Con7rm ToDo task'All tasks moved to /eport "ist
%ea" and no rea" &omodoros:
Pre0re1isites!
%ee Timer 9 "on$ break pre0re1isites
Tests!
Action /eslt
/n Timer 9 "on$ break tests
ntil 2 Pomodoros are done
2 real Pomodoros
Drin$ break; complete
ToDo'Complete All ToDo
ToDo task'All tasks moved to /eport "ist
Page 5 of 9 myPomodoro Test Cases
om!"ete 'hi"e &omodoro running:
Pre0re1isites!
%ee Timer 9 "on$ break pre0re1isites
Tests!
Action /eslt
/n Timer 9 "on$ break tests
ntil Pomodoro 2 rnnin$
1 real Pomodoro
Complete ToDo'Complete All
ToDo
*rror messa$e 3Pomodoro rnnin$; can.t
complete4
%top Pomodoro :arnin$ messa$e 3stoppin$ Pomodoro; record
interrption4
Con7rm Pomodoro stopped6 %tart btton replaces %top 6
display messa$e in %ystem Tray 3stopped4
Complete ToDo'Complete All
ToDo
ToDo task'All tasks moved to /eport "ist
2.( $dd un!"anned $cti)ity#ToDo
Pre0re1isites!
%ame as Timer 9 %,ort break pre0re1isites
Tests!
Action /eslt
%tart Pomodoro< Pomodoro started
%top Pomodoro< :arnin$ messa$e 3stoppin$ Pomodoro; record
interrption4
Con7rm< Pomodoro stopped6 %tart btton replaces %top 6
display messa$e in %ystem Tray 3stopped4
2pen =nplanned tab and 7ll
ot t,e form! select
interrption 3Internal or
*>ternal4; set date to today
3defalt4 and title
?essa$e 3nplanned ToDo added to ToDo "ist4
2pen =nplanned tab and 7ll
ot t,e form! select
interrption 3Internal or
*>ternal4; set date to
tomorro' and title
?essa$e 3nplanned Activity added to $cti)ity
"ist4
< 2ptional steps to create nplanned activities'ToDo in myPomodoro6 alt,o$,
re1ired by t,e Pomodoro Tec,ni1e@
2.* &omodoro icons
Code colors!
Page 6 of 9 myPomodoro Test Cases
:,en a Pomodoro is started; and -,ile it is rnnin$; t,e follo-in$ areas trn %+D
in color!
Timer
%tart btton
ToDo.s title on t,e ToDo list
ToDo.s title belo- t,e timer
ToDo.s title on top of t,e =nplanned tab 2/ on top of all tabs is t,e
ToDo is selected in t,e list
:,en all t,e Pomodoros of a ToDo are 7nis,ed; t,e ToDo.s title trns ,%++N in
color.
In any ot,er case; -L$. color is sed.
Se"ect &omodoro:
Pre0re1isites!
Type Condition
ToDo "ist ToDo tasks!
ToDo 1 -it, 2 estimated Pomodoros
ToDo 2 -it, & estimated Pomodoros
Tests!
Action /eslt
%elect ToDo 1 ToDo 1.s title and icons representin$ estimated
Pomodoros 3 4 appear belo- t,e timer and on
top of all tabs 3DetailsA4
%elect ToDo 2 ToDo 2.s title and icons 3 4 appear belo-
t,e timer and on top of all tabs
%elect ToDo 1 and start
Pomodoro
ToDo 1.s title and icons 3 4 appear belo- t,e
timer and on top of all tabs
:,ile ToDo 1.s Pomodoro is
rnnin$; select ToDo 2
ToDo 2.s title and icons 3 4 appear on top
of t,e Details; Comment and 2verestimation
tabs. ToDo 1.s title and icons 3 4 appear belo-
t,e timer and on top of t,e =nplanned tab
*nd of ToDo 1.s Pomodoro ToDo 2.s title and icons 3 4 appear on top
of t,e Details; Comment and 2verestimation
tabs. ToDo 1.s title and icons representin$ real
and estimated Pomodoros 3 4 refres,ed belo-
t,e timer and on top of t,e =nplanned tab
Drin$ break; select ToDo 2 ToDo 2.s title and icons 3 4 appear belo-
t,e timer and on top of all tabs
*nd of ToDo 2.s Pomodoro ToDo 2.s title and icons 3 4 refres,ed
belo- t,e timer and on top of all tabs
/)erestimate:
Page 7 of 9 myPomodoro Test Cases
Pre0re1isites!
%ame as Pomodoros icons 9 %elect Pomodoro
Tests!
Action /eslt
%elect ToDo 1; open t,e
2verestimation tab and add 1
Pomodoro
ToDo 1.s title and icons representin$ estimated
and overestimated Pomodoros 3 4
refres,ed belo- t,e timer and on top of all tabs
%tart ToDo 1; select ToDo 2;
open t,e 2verestimation tab
and add 2 Pomodoros
ToDo 2.s title and icons 3 4
refres,ed on top of t,e Details; Comment and
2verestimation tabs. ToDo ToDo 1.s title and
icons 3 4 appear belo- t,e timer and on
top of t,e =nplanned tab
%elect ToDo 1; open t,e
2verestimation tab and add 3
Pomodoros
ToDo 2.s title and icons 3 4 appear
on top of t,e Details; Comment and
2verestimation tabs. ToDo 1.s title and icons 3
4 refres,ed belo- t,e timer and on
top of t,e =nplanned tab
$dd interru!tion:
Pre0re1isites!
%ame as Pomodoros icons 9 %elect Pomodoro
Tests!
Action /eslt
%elect ToDo 1; open t,e
=nplanned tab and create
nplanned ToDo -it, Interna"
interrption
ToDo 1.s title and icons representin$ estimated
Pomodoros and internal interrption 3 4
appear belo- t,e timer and on top of all tabs
Create nplanned ToDo -it,
+0terna" interrption
ToDo 1.s title and icons representin$ estimated
Pomodoros and internal and e>ternal
interrptions 3 4 refres,ed belo- t,e timer
and on top of all tabs
%tart ToDo 1; select ToDo 2;
open t,e =nplanned tab and
create nplanned ToDo -it,
Interna" interrption 3do not
stopped ToDo 1<4
ToDo 2.s title and icons 3 4 appear on top
of t,e Details; Comment and 2verestimation
tabs. ToDo 1.s title and icons 3 4 refres,ed
belo- t,e timer and on top of t,e =nplanned tab
Create nplanned ToDo -it,
+0terna" interrption 3do not
stopped ToDo 1<4
ToDo 2.s title and icons 3 4 appear on top
of t,e Details; Comment and 2verestimation
tabs. Pomodoro 1.s title and icons 3 4
refres,ed belo- t,e timer and on top of
=nplanned tab
%elect ToDo 1 ToDo 1.s title and icons 3 4 appear belo-
t,e timer and on top of all tabs
< Not recommended by t,e Pomodoro Tec,ni1e@
Page 8 of 9 myPomodoro Test Cases
2.* +m!ty ToDo List
Pre0re1isites!
%ame as Timer 9 %,ort break pre0re1isites
Tests!
Action /eslt
/n Timer 9 %,ort break tests
ntil Pomodoro is rnnin$
1 estimated Pomodoro 3 4
?ove ToDo from ToDo "ist to
Activity "ist 3?ana$er4
ToDo "ist is emptied. Timer and tab are
refres,ed! title and icons of Pomodoro removed6
%tart btton replaces %top
/n Timer 9 %,ort break tests
ntil Pomodoro is done
1 real Pomodoro 3 4
Complete ToDo 2/ move ToDo
from ToDo "ist to Activity "ist
3?ana$er4
ToDo "ist is emptied. Timer and tab are
refres,ed! title and icons of Pomodoro removed
%tart Timer Timer does not start
Complete No con7rm messa$e 3do not,in$4
Comment No con7rm messa$e 3do not,in$4
2verestimate No con7rm messa$e 3do not,in$4
Create nplanned ToDo ToDo created6 interrption i$nored
Page 9 of 9 myPomodoro Test Cases

Vous aimerez peut-être aussi