INDEX
Introduction ……………………………………… 2
Objective Of The Project ...........………………… 3
Proposed System .........…………………………… 4
Hardware And Software Requirements ........…… 9
Source Code .........................................………… 11
Output ….........................……………………… 15
Testing …................…………………………… 17
Bibliography ..………………………………… 19
1|Page
Introduction:
“CLOTH STORE MANAGEMENT SYSTEM" This project
is useful for the CLOTH STORE employees to keep a track of items.
The emerging of digital system made information available on finger tips. By
automating the item details one can view the details as and when required in no
time. This project emphases on addition of new items, managing the existing
items in the store, by making digital system one can generate daily reports,
monthly reports and annual reports which can enhance the system.
Textile Management System is software for textile industries,which aimed to
reducing the workload in the textile industry.
The Textile Management System is designed to allow the industry to keep track
of all employee details, textile details, product details, banquet details and
agent details. It keeps tracks of active employees as well as employees who
have left the textile industry.
The Textile management System includes Front Office Module,Back Office
Module, Human Resource Management Module, and Accounts Module. This
will help authorized user to insert, delete,update or view the various records
related to employees, products and many more details. This makes the software
flexible to use.
2|Page
Objective Of The Project:
The objective of this project is to let the students apply the programming
knowledge into a real- world situation/problem and exposed the students how
programming skills helps in developing a good software.
1. Write programs utilizing modern software tools.
2. Apply object oriented programming principles effectively when
developing small to medium sized projects.
3. Write effective procedural code to solve small to medium sized problems.
4. Students will demonstrate a breadth of knowledge in computer science, as
exemplified in the areas of systems, theory and software development.
5. Students will demonstrate ability to conduct a research or applied
Computer Science project, requiring writing and presentation skills which
exemplify scholarly style in computer science.
3|Page
Proposed System:
Today one cannot afford to rely on the fallible human
beings of be really wants to stand against today’s merciless competition where
not to wise saying “to err is human” no longer valid, it’s outdated to
rationalize your mistake. So, to keep pace with time, to bring about the best
result without malfunctioning and greater efficiency so to replace the unending
heaps of flies with a much sophisticated hard disk of the computer.
One has to use the data management software. Software has been an
ascent in atomization various organisations. Many software products working
are now in markets, which have helped in making the organizations work easier
and efficiently. Data management initially had to maintain a lot of ledgers and
a lot of paperwork has to be done but now software production this
organization has made their work faster and easier. Now only this software has
to be loaded on the computer and work can be done.
This prevents a lot of time and money. The work becomes fully
automated and any information regarding the organization can be obtained by
clicking the button. Moreover, now it’s an age of computers of and automating
such an organization gives the better look.
4|Page
Hardware And Software Requirements:
HARDWARE REQUIREMENTS:
I.OPERATING SYSTEM : WINDOWS 7 AND ABOVE
II. PROCESSOR : PENTIUM(ANY) OR AMD
ATHALON(3800+- 4200+
DUALCORE)
III. MOTHERBOARD : 1.845 OR 915,995 FOR
PENTIUM 0R MSI
K9MM-V VIAK8M800+8237R
PLUS
CHIPSET FOR AMD
ATHALON.
IV. RAM : 512MB+
V. Hard disk : SATA 40 GB OR ABOVE
VI. CD/DVD r/w multi drive combo: (If back up required)
VII. FLOPPY DRIVE 1.44 MB : (If Backup required)
VIII. MONITOR 14.1 or 15 -17 inch
IX. Key board and mouse
X. Printer : (if print is required – [Hard copy])
SOFTWARE REQUIREMENTS:
I. Windows OS
II. Python
III. Mysql
IV. Mysql python connector
5|Page
Source Code:
6|Page
fr o m t k in t e r im p o r t *
fr o m t k in t e r im p o r t m e s s a g e b o x
# F UimN pC oT rIOt mN ySs#q l.c o n n e c t o r
d e fp aa ds sdwitde=ms t ():r (in p u t (" E N T E R T H E D A T A B A S E P A S S W O R D : " ))
m y d b = m y s q l.c o n n e c t o r .c o n n e c t (h o s t = " lo c a lh o s t " ,u s e r = " r o o t " ,p a s s w d = p a s s w d ,d a t a b a s e = 'S t o r e _ M g m t ')
m y _ c u r s ot rr y= : m y d b .c u r s o r ()
e 1 = e n t r y 1 .g e t ()
#===========================================================================================
= = = = = = = = = = = = = = = =e=2= == e= n= =t r= y= 2= .g= =e=t=()= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
===# e 3 = e n t r y 3 .g e t ()
e 4 = e n t r y 4 .g e t ()
# m y _ c u r s o r .e x e c u t e ("e c5 r=e ea nt et rdy a5t .ga beats()e if n o t e x is t s S t o r e _ M g m t " )
# m y _ c u r s o r .e x e c u t e ("s qu ls e= S" tINo r Se E_ RM Tg mIN t T" )O in v e n t o r y ( it e m _ c o d e , it e m _ n a m e , it e m _ b r a n d ,
it e mm _y _q cuuar ns otir t.ey x, eitc eu mt e _("pc rr ice aet )e Vt aA bLleU Eif Sn (%o t se ,x %is tss, in% vs e, n%t os r, y% ( sit)"e m _ c o d e in t P r im a r y K e y , it e m _ n a m e v a r c h a r (5 0 )
n o t n u ll u n iq u e ,it e vm a_l b=r a(en d1 ,sv at r c(eh 2a r),s(5 t0 r),(eit3e),em _4 q,eu 5a n) ti t y in t , it e m _ p r ic e fl o a t )" )
# = = = = = = = = = = = = = = = = =m= =y =_ =c =u =r =s =o =r =.e= x= e= c= u= =t e= =( s=q= l,v= = =a =l)= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = = = = = = = = = =m= =y =d=b= .c= =o =m= =m= =it=()= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
===# e n t r y 1 .d e le t e (0 , E N D )
r o o t = T k () e n t r y 2 .d e le t e (0 , E N D )
e n t r y 3 .d e le t e (0 , E N D )
r o o t .ti t le (" X X X C L O T He nS tT rOy R4 E.d[Ce loletthe S(0t o, rEe NMD a) n a g e m e n t S y s t e m ]" )
r o o t .c o n fi g u r e (w id t h e= n1 5t r0 y0 5,h.de ige leh t=e6(00 0, ,bE Ng =D" )B la c k " )
m e s s a g e b o x .s h o w in fo (" A D D IT E M " , " IT E M A D D E D S U C C E S S F U L L Y ....! ! ! " )
e x c e p t ( m y s q l.c o n n e c t o r .E r r o r ,m y s q l.c o n n e c t o r .W a r n in g ) a s e :
# = = = = = = = = = = = = = = = = =m= =e =s =s =a =g =e =b=o= x= .s= =h =o= w= =e =r =r =o =r =("= D= =U =P= L= IC= =A= T= E= "= ,"= =Y= o= u= =a= r=e= =t r= y= in= =g= =t o= =in= =s =e =r =t =a = it= =e =m= = w= =h=ic= h= = is= = = =
a lr e a ==d ==y == p== r=# e= s= e= n= =t =in= =d= a= t= a= b= a= =s e= =" =) = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
r o o t = T k ()
d e fr od oe tle.tit tele1 ("():X X X C L O T H S T O R E [C lo t h S t o r e M a n a g e m e n t S y s t e m ]" )
r ot or yt .c: o n fi g u r e (w id t h = 1 5 0 0 ,h e ig h t = 6 0 0 ,b g = " B la c k " )
e 6 = e n t r y 6 .g e t ()
m y _ c u r s o r .e x e c u t e (" d e le t e fr o m in v e n t o r y w h e r e it e m _ c o d e = '{ 0 } '" .fo r m a t (e 6 ))
m y d b .c o m m it ()
m e s s a g e b o x .s h o w in fo (" D E L E T E IT E M " , " IT E M D E L E T E D S U C C E S S F U L L Y ....! ! ! " )
e x c e p t ( m y s q l.c o n n e c t o r .E r r o r ,m y s q l.c o n n e c t o r .W a r n in g ) a s e :
m e s s a g e b o x .s h o w e r r o r (" B L A N K " ," P le a s e E n t e r It e m C o d e T o D e le t e " )
7|Page
d e f s h o w d a ta b a s e ():
ro o t1 = T k ()
ro o t1 .c o n fi g u re (b g = " G re y " )
ro o t1 .ti tle (" C lo th S to re D a ta b a s e " )
m y _ c u rs o r.e x e c u te (" s e le c t * fro m in v e n to ry " )
m y te x t1 = m y _ c u rs o r.fe tc h a ll()
m y te x t = T e x t(ro o t1 ,w id th = 9 0 ,h e ig h t= 2 0 ,b g = " g ra y " ,fg = " b la c k " , fo n t= (" T im e s " , 1 2 ))
m y te x t.in s e rt(E N D ," Ite m _ C o d e \ t\ tIte m _ N a m e \ t\ tIte m _ B ra n d \ t\ tIte m _ Q u a n ti ty \ t\ tIte m _ P ric e \ n " )
m y te x t.in s e rt(E N D ," ------------ \ t\ t----------- \ t\ t-------------- \ t\ t--------------- \ t\ t--------------- \ n " )
fo r ro w in m y te x t1 :
m y te x t.in s e rt(E N D ," {0 } \ t\ t {1 } \ t\ t {2 } \ t\ t {3 } \ t\ t
{4 }\ n " .fo rm a t(ro w [0 ],ro w [1 ],ro w [2 ],ro w [3 ],ro w [4 ]))
m y te x t.p a c k ( s id e = L E F T )
d e f s e a rc h ite m ():
e n try 1 .d e le te (0 , E N D )
e n try 2 .d e le te (0 , E N D )
e n try 3 .d e le te (0 , E N D )
e n try 4 .d e le te (0 , E N D )
e n try 5 .d e le te (0 , E N D )
e n try 6 .in s e rt(0 , " E n te r th e Ite m N a m e T o S e a rc h " )
e 6 = e n try 6 .g e t()
if e 6 = = " E n te r th e Ite m N a m e T o S e a rc h " o r " " :
m e s s a g e b o x .s h o w in fo (" W a rn in g " ," P le a s e fi rs t e n te r Ite m n a m e fo r s e a rc h " )
m y _ c u rs o r.e x e c u te (" s e le c t * fro m in v e n to ry w h e re ite m _ n a m e = '{0 }'" .fo rm a t(s tr(e 6 )))
m y te x t1 = m y _ c u rs o r.fe tc h o n e ()
e n try 1 .in s e rt(0 ,m y te x t1 [0 ])
e n try 2 .in s e rt(0 ,m y te x t1 [1 ])
e n try 3 .in s e rt(0 ,m y te x t1 [2 ])
e n try 4 .in s e rt(0 ,m y te x t1 [3 ])
e n try 5 .in s e rt(0 ,m y te x t1 [4 ])
e n try 6 .d e le te (0 , E N D )
e n try 6 .in s e rt(0 ," S E A R C H " )
8|Page
d e f a c t u a lu p d a t e ():
e 1 = e n t r y 1 .g e t ()
e 2 = e n t r y 2 .g e t ()
e 3 = e n t r y 3 .g e t ()
e 4 = e n t r y 4 .g e t ()
e 5 = e n t r y 5 .g e t ()
e 6 = e n t r y 6 .g e t ()
m y _ c u r s o r .e x e c u t e (" s e le c t * fr o m in v e n t o r y w h e r e it e m _ n a m e = '{ 0 } '" .fo r m a t (s t r (e 6 )))
lin e = m y _ c u r s o r .fe t c h o n e ()
in a m e = lin e [0 ]
ip r ic e = lin e [1 ]
iq u a n ti t y = lin e [2 ]
ic a t e g o r y = lin e [3 ]
id is c o u n t = lin e [4 ]
if e 1 != " U p d a t e " :
ic o d e = e 1
if e 2 != " U p d a t e " :
in a m e = e 2
if e 3 != " U p d a t e " :
ib r a n d = e 3
if e 4 != " U p d a t e " :
iq u a n ti t y = e 4
if e 5 != " U p d a t e " :
ip r ic e = e 5
s q l = " u p d a t e in v e n t o r y s e t it e m _ c o d e = % s , it e m _ n a m e = % s , it e m _ b r a n d = % s , it e m _ q u a n ti t y = % s ,
it e m _ p r ic e = % s w h e r e it e m _ n a m e = % s "
v a l = (ic o d e ,s t r (in a m e ),s t r (ib r a n d ),iq u a n ti t y ,ip r ic e ,s t r (e 6 ))
m y _ c u r s o r .e x e c u t e (s q l,v a l)
m y d b .c o m m it ()
m e s s a g e b o x .s h o w in fo (" U P D A T E IT E M " , " IT E M U P D A T E D S U C C E S S F U L L Y ....!!!" )
e n t r y 1 .d e le t e (0 , E N D )
e n t r y 2 .d e le t e (0 , E N D )
e n t r y 3 .d e le t e (0 , E N D )
e n t r y 4 .d e le t e (0 , E N D )
e n t r y 5 .d e le t e (0 , E N D )
e n t r y 6 .d e le t e (0 , E N D )
e n t r y 6 .in s e r t (0 ,“ E n t e r t h e It e m N a m e T o U p d a t e " )
9|Page
d e f u p d a t e ():
e n t r y 1 .d e le t e (0 , E N D )
e n t r y 2 .d e le t e (0 , E N D )
e n t r y 3 .d e le t e (0 , E N D )
e n t r y 4 .d e le t e (0 , E N D )
e n t r y 5 .d e le t e (0 , E N D )
e n t r y 6 .d e le t e (0 , E N D )
e n t r y 1 .in s e r t (0 , " U p d a t e " )
e n t r y 2 .in s e r t (0 , " U p d a t e " )
e n t r y 3 .in s e r t (0 , " U p d a t e " )
e n t r y 4 .in s e r t (0 , " U p d a t e " )
e n t r y 5 .in s e r t (0 , " U p d a t e " )
e n t r y 6 .in s e r t (0 , " E n t e r t h e It e m N a m e T o U p d a t e " )
b u tt o n 8 = B u tt o n ( r o o t ,h ig h lig h t c o lo r = " b lu e " ,a c ti v e b a c k g r o u n d = " g r e e n " , t e x t = " U P D A T E IT E M " ,b d = 8 ,
b g = " # 4 9 D 8 1 0 " , fg = " b la c k " , w id t h = 2 5 , fo n t = (" T im e s " , 1 4 ),c o m m a n d = a c t u a lu p d a t e )
b u tt o n 8 .g r id (r o w = 5 ,c o lu m n = 2 , p a d x = 1 0 , p a d y = 1 0 )
d e f c le a r it e m ():
e n t r y 1 .d e le t e (0 , E N D )
e n t r y 2 .d e le t e (0 , E N D )
e n t r y 3 .d e le t e (0 , E N D )
e n t r y 4 .d e le t e (0 , E N D )
e n t r y 5 .d e le t e (0 , E N D )
e n t r y 6 .d e le t e (0 , E N D )
d e f q E x it ():
q E x it = m e s s a g e b o x .a s k y e s n o (" Q U IT S Y S T E M " ," D o y o u w a n t t o q u it ? \ n P r o je c t B y :\ n 1 )
P r iy a n g s h u D a s R o ll n o : 4 2 \ n T h a n k Y o u .....!!" )
if q E x it > 0 :
r o o t .d e s t r o y ()
re tu rn
10 | P a g e
# L A B L E E N T R IE S A N D P L A C E
la b e l0 = L a b e l( r o o t ,t e x t = " W E L C O M E T O X X X C L O T H S T O R E " ,b g = " B la c k " ,fg = " R e d " ,fo n t = (" C o p p e r p la t e G o t h ic B o ld " ,
2 6 ))
la b e l1 = L a b e l( r o o t ,t e x t = " E N T E R IT E M C O D E " ,b g = " b la c k " ,r e lie f = " g r o o v e " ,fg = " w h it e " ,b d = 1 2 ,fo n t = (" T im e s " ,
1 2 ),w id t h = 2 5 )
e n t r y 1 = E n t r y (r o o t , fo n t = (" T im e s " , 1 2 ),b d = 8 ,w id t h = 2 5 ,b g = " w h it e " )
la b e l2 = L a b e l(r o o t , t e x t = " E N T E R IT E M N A M E " ,r e lie f = " g r o o v e " ,h e ig h t = " 1 " ,b g = " b la c k " ,b d = 1 2 ,fg = " w h it e " ,
fo n t = (" T im e s " , 1 2 ),w id t h = 2 5 )
e n t r y 2 = E n t r y (r o o t , fo n t = (" T im e s " , 1 2 ),b d = 8 ,w id t h = 2 5 ,b g = " w h it e " )
la b e l3 = L a b e l(r o o t , t e x t = " E N T E R IT E M B R A N D " ,r e lie f = " g r o o v e " ,b g = " b la c k " ,b d = 1 2 ,fg = " w h it e " , fo n t = (" T im e s " ,
1 2 ),w id t h = 2 5 )
e n t r y 3 = E n t r y (r o o t , fo n t = (" T im e s " , 1 2 ),b d = 8 ,w id t h = 2 5 ,b g = " w h it e " )
la b e l4 = L a b e l(r o o t , t e x t = " E N T E R IT E M Q U A N T IT Y " ,r e lie f = " g r o o v e " ,b g = " b la c k " ,b d = 1 2 ,fg = " w h it e " , fo n t = (" T im e s " ,
1 2 ),w id t h = 2 5 )
e n t r y 4 = E n t r y (r o o t , fo n t = (" T im e s " , 1 2 ),b d = 8 ,w id t h = 2 5 ,b g = " w h it e " )
la b e l5 = L a b e l(r o o t , t e x t = " E N T E R IT E M P R IC E " ,b g = " b la c k " ,r e lie f = " g r o o v e " ,fg = " w h it e " ,b d = 1 2 , fo n t = (" T im e s " ,
1 2 ),w id t h = 2 5 )
e n t r y 5 = E n t r y (r o o t , fo n t = (" T im e s " , 1 2 ),b d = 8 ,w id t h = 2 5 ,b g = " w h it e " )
b u tt o n c o lo r = " # 4 9 D 8 1 0 "
re d = "# FF0 0 0 0 "
r e d fg = " # E E E E F 1 "
b u tt o n fg = " b la c k "
b u tt o n 1 = B u tt o n ( r o o t ,a c ti v e b a c k g r o u n d = " g r e e n " , t e x t = " A D D IT E M " ,b d = 8 , b g = b u tt o n c o lo r , fg = b u tt o n fg , w id t h = 2 5 ,
fo n t = (" T im e s " , 1 4 ),c o m m a n d = a d d it e m )
b u tt o n 2 = B u tt o n ( r o o t ,a c ti v e b a c k g r o u n d = " r e d " , t e x t = " D E L E T E IT E M " ,b d = 8 , b g = r e d , fg = r e d fg , w id t h = 2 5 ,
fo n t = (" T im e s " , 1 4 ),c o m m a n d = d e le t e 1 )
b u tt o n 3 = B u tt o n ( r o o t ,a c ti v e b a c k g r o u n d = " g r e e n " , t e x t = " V IE W IT E M S " ,b d = 8 , b g = b u tt o n c o lo r , fg = b u tt o n fg , w id t h = 2 5 ,
fo n t = (" T im e s " , 1 4 ),c o m m a n d = s h o w d a t a b a s e )
b u tt o n 4 = B u tt o n ( r o o t ,a c ti v e b a c k g r o u n d = " g r e e n " , t e x t = " S E A R C H IT E M " ,b d = 8 , b g = b u tt o n c o lo r , fg = b u tt o n fg , w id t h
= 2 5 , fo n t = (" T im e s " , 1 4 ),c o m m a n d = s e a r c h it e m )
b u tt o n 5 = B u tt o n ( r o o t ,a c ti v e b a c k g r o u n d = " g r e e n " , t e x t = " C L E A R S C R E E N " ,b d = 8 , b g = b u tt o n c o lo r , fg = b u tt o n fg ,
w id t h = 2 5 , fo n t = (" T im e s " , 1 4 ),c o m m a n d = c le a r it e m )
b u tt o n 6 = B u tt o n ( r o o t ,a c ti v e b a c k g r o u n d = " r e d " , t e x t = " E X IT " ,b d = 8 , b g = " # F F 0 0 0 0 " , fg = " # E E E E F 1 " , w id t h = 2 5 ,
fo n t = (" T im e s " , 1 4 ),c o m m a n d = q E x it )
e n t r y 6 = E n t r y (r o o t , fo n t = (" T im e s " , 1 2 ),ju s ti fy = 'le ft ',b d = 8 ,w id t h = 2 5 ,b g = " # E E E E F 1 " )
e n t r y 6 .in s e r t (0 ," " )
b u tt o n 7 = B u tt o n ( r o o t ,a c ti v e b a c k g r o u n d = " g r e e n " , t e x t = " U P D A T E IT E M " ,b d = 8 , b g = b u tt o n c o lo r , fg = b u tt o n fg ,
w id t h = 2 5 , fo n t = (" T im e s " , 1 4 ),c o m m a n d = u p d a t e )
11 | P a g e
# # # # # # # # P O S IT IO N O F A L L B U T T O N S A N D E N T R IE S # # # # # # #
la b e l0 .g r id (c o lu m n s p a n = 6 , p a d x = 1 0 , p a d y = 1 0 )
la b e l1 .g r id (r o w = 1 ,c o lu m n = 0 , p a d x = 1 0 , p a d y = 1 0 )
la b e l2 .g r id (r o w = 2 ,c o lu m n = 0 , p a d x = 1 0 , p a d y = 1 0 )
la b e l3 .g r id (r o w = 3 ,c o lu m n = 0 , p a d x = 1 0 , p a d y = 1 0 )
la b e l4 .g r id (r o w = 4 ,c o lu m n = 0 , p a d x = 1 0 , p a d y = 1 0 )
la b e l5 .g r id (r o w = 5 ,c o lu m n = 0 , p a d x = 1 0 , p a d y = 1 0 )
e n t r y 1 .g r id (r o w = 1 ,c o lu m n = 1 , p a d x = 1 0 , p a d y = 1 0 )
e n t r y 2 .g r id (r o w = 2 ,c o lu m n = 1 , p a d x = 1 0 , p a d y = 1 0 )
e n t r y 3 .g r id (r o w = 3 ,c o lu m n = 1 , p a d x = 1 0 , p a d y = 1 0 )
e n t r y 4 .g r id (r o w = 4 ,c o lu m n = 1 , p a d x = 1 0 , p a d y = 1 0 )
e n t r y 5 .g r id (r o w = 5 ,c o lu m n = 1 , p a d x = 1 0 , p a d y = 1 0 )
e n t r y 6 .g r id (r o w = 1 ,c o lu m n = 2 , p a d x = 1 0 , p a d y = 1 0 )
b u tt o n 1 .g r id (r o w = 6 ,c o lu m n = 0 , p a d x = 1 0 , p a d y = 1 0 )
b u tt o n 2 .g r id (r o w = 6 ,c o lu m n = 1 , p a d x = 1 0 , p a d y = 1 0 )
b u tt o n 3 .g r id (r o w = 3 ,c o lu m n = 2 , p a d x = 1 0 , p a d y = 1 0 )
b u tt o n 4 .g r id (r o w = 2 ,c o lu m n = 2 , p a d x = 1 0 , p a d y = 1 0 )
b u tt o n 5 .g r id (r o w = 4 ,c o lu m n = 2 , p a d x = 1 0 , p a d y = 1 0 )
b u tt o n 6 .g r id (r o w = 6 ,c o lu m n = 2 , p a d x = 1 0 , p a d y = 1 0 )
b u tt o n 7 .g r id (r o w = 5 ,c o lu m n = 2 , p a d x = 1 0 , p a d y = 1 0 )
r o o t .m a in lo o p ()
12 | P a g e
Output:
13 | P a g e
14 | P a g e
Testing:
Software Testing is an empirical investigation conducted to
provide stakeholders with information about the quality of the product or
service under test[1] , with respect to the context in which it is intended to
operate. Software Testing also provides an objective, independent view of
the software to allow the business to appreciate and understand the risks
at implementation of the software. Test techniques include, but are not
limited to, the process of executing a program or application with the
intent of finding software bugs.
It can also be stated as the process of validating and
verifying that a software program/application/product meets
the business and technical requirements that guided its design
and development, so that it works as expected and can be
implemented with the same characteristics. Software Testing,
depending on the testing method employed, can be implemented
at any time in the development process, however the most test
effort is employed after the requirements have been defined and
coding process has been completed.
TESTING METHODS
Software testing methods are traditionally divided into black
box testing and white box testing. These two approaches are
used to describe the point of view that a test engineer takes
when designing test cases.
15 | P a g e
BLACK BOX TESTING
Black box testing treats the software as a "black box," without
any knowledge of internal implementation. Black box testing
methods include: equivalence partitioning, boundary value
analysis, all-pairs testing, fuzz testing, model-based testing,
traceability matrix, exploratory testing and specification-based
testing.
PECIFICATION-BASED TESTING
Specification-based testing aims to test the functionality of
software according to the applicable requirements.[16] Thus, the
tester inputs data into, and only sees the output from, the test
object. This level of testing usually requires thorough test cases
to be provided to the tester, who then can simply verify that for a
given input, the output value (or behaviour), either "is" or "is not"
the same as the expected value specified in the test case.
Specification-based testing is necessary, but it is insufficient to
guard against certain risks
WHITE BOX TESTING
White box testing, by contrast to black box testing, is when
the tester has access to the internal data structures and
algorithms (and the code that implement these)
16 | P a g e
Bibliography:
1. Computer science With Python - Class XII By : Sumita Arora
2. Website: https://www.w3resource.com
17 | P a g e
THANK YOU
18 | P a g e