sw-testing: spi policies and support
DESCRIPTION
SW-Testing: SPI policies and support. LCG Software Process & Infrastructure [email protected] LCG/SPI LCG AA meeting (07/05/03). GOAL. “Software testing should be an integral part of the software development process”. Automated testing. SW- testing support:. S P I. - PowerPoint PPT PresentationTRANSCRIPT
M Gallas CERN EP-SFT
SPI: SW-Testing 1
SW-Testing:SPI policies and support
LCG Software Process & [email protected]
LCG/SPILCG AA meeting (07/05/03)
M Gallas CERN EP-SFT
SPI: SW-Testing 2
SPI
CVS organization
Buiding:SCRAM
Directory structureCode documentation
Nightlybuildings
External Soft-Lib service
SavannahPortal
Software Develop Polices
SPI SW-Testing: overview
“Software testing should be an integral part of the software
development process”
GOAL
Automated testing
SW- testing polices
SW- testing support:• Test frame works
• HowTo, examples …• Test plan & test case documentation templates
M Gallas CERN EP-SFT
SPI: SW-Testing 3
SW-Testing support: Web information
CppUnit
PyUnit
Oval
X-Unitfamily
Valgrind
TestScripts
OvalFile
Logfile
Reffile
?
Software Code
Nightly Building System
Au
tom
ate
d S
W-T
esti
ng
M Gallas CERN EP-SFT
SPI: SW-Testing 4
SW-Testing support: Tools supported
CppUnit
PyUnit
Oval
Provided as free software by the SPI External Software Service
•Different platforms: (Linux/Solaris/Windows)
•Different compilers•Integrated with SCRAM and ready to be used•Installed in AFS/DFS•Instructions to install them in a local machine
How to use them ?
M Gallas CERN EP-SFT
SPI: SW-Testing 5
1
SW-Testing support: HowTos
2
3 Dedicate time to make tests
4 Follow sw-testing policies
M Gallas CERN EP-SFT
SPI: SW-Testing 6
SW-Testing support: Examples
SEAL
M Gallas CERN EP-SFT
SPI: SW-Testing 7
SW-Testing support: Examples (II)
POOL
M Gallas CERN EP-SFT
SPI: SW-Testing 8
SW-Testing policies: where to find them?
http://spi.cern.ch/software_development.html
For the projects
For the developers
For the testing responsible
M Gallas CERN EP-SFT
SPI: SW-Testing 9
SW-Testing policies: Test Plan
For all projects is needed a Test Plan
Let us use a template
POOL Test Plan is a good example and
a starting point