LCG-SPI: SW-Testing LCG AppArea internal review (20/10/03)

Slides:



Advertisements
Similar presentations
Configuration management
Advertisements

Configuration management
Unit Testing Australian Development Centre Brisbane, Australia.
Project Management Summary Castor Development Team Castor Readiness Review – June 2006 German Cancio, Giuseppe Lo Presti, Sebastien Ponce CERN / IT.
Trnsport Test Suite Project Tony Compton, Texas DOT Charles Engelke, Info Tech.
By SAG Objectives Cross platform QA Automation for web applications Scheduling the automation Automatically build the test scripts Generate the.
CASE Tools CIS 376 Bruce R. Maxim UM-Dearborn. Prerequisites to Software Tool Use Collection of useful tools that help in every step of building a product.
APPLICATION DEVELOPMENT BY SYED ADNAN ALI.
Presentation Outline What is JUnit? Why Use JUnit? JUnit Features Design of JUnit Downloading JUnit Writing Tests – TestCase – TestSuite Organizing The.
Automated Tests in NICOS Nightly Control System Alexander Undrus Brookhaven National Laboratory, Upton, NY Software testing is a difficult, time-consuming.
Unit Testing Using PyUnit Monther Suboh Yazan Hamam Saddam Al-Mahasneh Miran Ahmad
This chapter is extracted from Sommerville’s slides. Text book chapter
Quality Assurance and Testing in LCG CHEP 2004 Interlaken, Switzerland 30 September 2004 Manuel Gallas, Jakub MOSCICKI CERN
SPI Software Process & Infrastructure GRIDPP Collaboration Meeting - 3 June 2004 Jakub MOSCICKI
M. Gallas IT-API LCG SPI project: testing1 Software Testing Infrastructure status LCG Software Process & Infrastructure (CERN, 10/23/02)
SPI Software Process & Infrastructure EGEE France - 11 June 2004 Yannick Patois
M Gallas CERN EP-SFT LCG-SPI: SW-Testing1 LCG-SPI: SW-Testing LCG Applications Area GridPP 7 th Collaboration Meeting LCG/SPI LCG.
Unit tests, Integration tests Physics tests Andrea Dotti, Gunter Folger, Pere Mato CERN – PH/SFT Geant4 workshop 2012.
Testing in Extreme Programming
Business Unit or Product Name © 2007 IBM Corporation Introduction of Autotest Qing Lin.
Nightly Releases and Testing Alexander Undrus Atlas SW week, May
 To explain the importance of software configuration management (CM)  To describe key CM activities namely CM planning, change management, version management.
J.T Moscicki CERN LCG - Software Process & Infrastructure1 SPI Software Process & Infrastructure for LCG Software Packaging and Distribution LCG Application.
EMI INFSO-RI SA2 - Quality Assurance Alberto Aimar (CERN) SA2 Leader EMI First EC Review 22 June 2011, Brussels.
A. Aimar - EP/SFT LCG - Software Process & Infrastructure1 Software Process panel SPI GRIDPP 7 th Collaboration Meeting 30 June – 2 July 2003 A.Aimar -
Configuration Management (CM)
EGEE is a project funded by the European Union under contract IST Testing processes Leanne Guy Testing activity manager JRA1 All hands meeting,
Testing Basics of Testing Presented by: Vijay.C.G – Glister Tech.
The LCG SPI project in LCG Phase II CHEP’06, Mumbai, India Feb. 14, 2006 Andreas Pfeiffer -- for the SPI team
Unit Testing with JUnit and Clover Based on material from: Daniel Amyot JUnit Web site.
JRA Execution Plan 13 January JRA1 Execution Plan Frédéric Hemmer EGEE Middleware Manager EGEE is proposed as a project funded by the European.
20/09/2006LCG AA 2006 Review1 Committee feedback to SPI.
Feedback from the POOL Project User Feedback from the POOL Project Dirk Düllmann, LCG-POOL LCG Application Area Internal Review October 2003.
SEAL Core Libraries and Services CLHEP Workshop 28 January 2003 P. Mato / CERN Shared Environment for Applications at LHC.
A. Aimar - EP/SFT LCG - Software Process & Infrastructure1 SPI Infrastructure for LCG Software Projects Overview A.Aimar EP/SFT CERN LCG Software Process.
M Gallas CERN EP-SFT LCG-SPI: SW-Testing1 LCG-SPI: SW-Testing QMTest test framework LCG AppArea meeting (16/07/03) LCG/SPI LCG Software.
Confidential Continuous Integration Framework (CIF) 5/18/2004.
EGEE is a project funded by the European Union under contract IST Unit testing coordination and interface testing. David Collados Testing Team.
GLite build and integration system Building and Packaging Robert HARAKALY
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
Software Engineering Overview DTI International Technology Service-Global Watch Mission “Mission to CERN in Distributed IT Applications” June 2004.
G.Govi CERN/IT-DB 1 September 26, 2003 POOL Integration, Testing and Release Procedure Integration  Packages structure  External dependencies  Configuration.
SEAL Project Overview LCG-AA Internal Review October 2003 P. Mato / CERN.
A. Aimar - EP/SFT LCG - Software Process & Infrastructure1 SPI Software Process & Infrastructure for LCG Project Overview LCG Application Area Internal.
1 Chapter 12 Configuration management This chapter is extracted from Sommerville’s slides. Text book chapter 29 1.
1 Comments to SPI. 2 General remarks Impressed by progress since last review Widespread adoption by experiments and projects Savannah, ExtSoft Build system.
A. Aimar - EP/SFT LCG - Software Process & Infrastructure1 SPI Infrastructure for LCG Software Projects GRIDPP 7 th Collaboration Meeting 30 June – 2 July.
A. Aimar - EP/SFT LCG - Software Process & Infrastructure1 SPI Infrastructure for LCG Software Projects Status and work plan for H July 2003 A.Aimar.
JRA1 Testing Current Status Leanne Guy Testing Coordination Meeting, 13 th September 2004 EGEE is a project funded by the European.
A. Aimar - IT/API LCG - Software Process & Infrastructure1 SPI - News and Status Update CERN,
SPI Software Process & Infrastructure Project Plan 2004 H1 LCG-PEB Meeting - 06 April 2004 Alberto AIMAR
JRA1 Meeting – 09/02/ Software Configuration Management and Integration EGEE is proposed as a project funded by the European Union under contract.
2014 Build & Infrastructure Engineering What It Is and Why You Need It Na’Tosha J. Bard October 9, 2014 #GHC
A. Aimar - EP/SFT LCG - Software Process & Infrastructure SPI Infrastructure for LCG Software Projects CHEP 2003 A.Aimar EP/SFT CERN LCG Software Process.
A. Aimar - EP/SFT LCG - Software Process & Infrastructure1 SPI Software Process & Infrastructure for LCG Project Overview (38 slides, 22 screen dumps)
Comments on SPI. General remarks Essentially all goals set out in the RTAG report have been achieved. However, the roles defined (Section 9) have not.
Software Engineering Lecture 11 Software Testing Presenter: Josef Hallberg 1.
1 March 12, Testing William Cohen NCSU CSC 591W March 12, 2008.
Getting Started with JUnit Getting Started with JUnit The benefits and ease of writing and running JUnit test cases and test suites. The benefits and ease.
CIS 375 Bruce R. Maxim UM-Dearborn
Leverage your Business with Selenium Automation Testing
SPI Infrastructure for LCG Software Projects
Test Automation CS 4501 / 6501 Software Testing
SPI external software build tool and distribution mechanism
SPI Software Process & Infrastructure
LCG Software Quality Assurance
Leanne Guy EGEE JRA1 Test Team Manager
Applied Software Implementation & Testing
Chapter 7 –Implementation Issues
Overview Activities from additional UP disciplines are needed to bring a system into being Implementation Testing Deployment Configuration and change management.
Presentation transcript:

LCG-SPI: SW-Testing LCG AppArea internal review (20/10/03) Manuel.Gallas@cern.ch LCG/SPI LCG Software Process & Infrastructure M Gallas CERN EP-SFT LCG-SPI: SW-Testing

Outline SPI SW-Testing SW-Testing Overview LCG-SPI SW-Testing Test Frameworks Test Documents User support M Gallas CERN EP-SFT LCG-SPI: SW-Testing

SW-Testing Overview GOAL (from RTAG2) SPI SW-Testing Software testing Software testing should be an integral part of the software development in the LCG App Area. All level of software testing should be run as part of an automatic process. Code Documentation Software developer CODE Work Package Test Automated testing Nightly Building System Test FrameWorks SW-testing doc SW- testing support SPI SW-Testing SW-testing polices Sw-testing team Integration Tests System Examples LHC experiments Use in Exp. Software testing Integration test System test Acceptance test Unit test M Gallas CERN EP-SFT LCG-SPI: SW-Testing

LCG-SPI SW-Testing Aim: to help developers: to help projects: to produce test code suitable to be run in automatic way to document their tests to plan their test phase to run all their test in automatic way to browse and scan easily the test results and failures Requirements from the users : Work with different languages (C++, Python, …) and in different environments (platforms & compilers) Allow two ways of testing: (1) “check the output of the test-code” (2) “check the test results inside the test-code”. Provide a easy way to integrate existing tests. Allow the creation of dependencies among tests. Easily establish a criteria if a test should pass or fail in a given release Organize the tests by components or packages / integration / system /acceptance . Regression testing and check respect to the previous sw-release. Easy integration with the Nightly Building System. Provide also a graphical interface to run the tests and examine the test results. Our inputs: Contacts within HEP-community. What is available as free open source code. Our constraints: Avoid commercial software and licensing problems. Avoid “do it yourself solutions” Try to adopt commonly used open-source software. M Gallas CERN EP-SFT LCG-SPI: SW-Testing

Test Frameworks: Global picture QA activity End User Installation checks Nightly Building Project Release Sw-Testing Top layer Bottom layer - Adaptable to the programming language and developer - Prepared to be run in automatic way - Integrates different ways to test. - Common environment to run the tests and to access the test results. QMTest Uses a GUI for creating and running tests (also in batch). Can run tests in parallel, supports execution of a single test or many at once (test-cases & test-suites) Organizes tests hierarchically Records dependencies among tests X-Unit family JUnit QtUnit CppUnit PyUnit Oval Test Scripts Old tests SW Product Examples Unit testing Acceptance testing M Gallas CERN EP-SFT LCG-SPI: SW-Testing

Test Frameworks: X-Unit family JUnit QtUnit CppUnit PyUnit A simple test: Subclass the TestCase CppUnit or PyUnit class Override the method runTest(). When you want to check a value, call the (CppUnit or PyUnit) ASSERT(bool) and pass in an expresion that is true if the test succeeds Main Scope: Unit–testing The same “assertion style” in different languages. Provides:- The name of the test case that failed. -The name of the source file that contains the test. -The line number where the failure occurred Different platforms/compilers: (Linux/Solaris/Windows) M Gallas CERN EP-SFT LCG-SPI: SW-Testing

Test Frameworks: Oval Test Source Executable Code Ovalfile Oval diff validation and regression developed & used within CMS experiment Ovalfile (configuration) Executable Test Source Code Reference file Log Oval run Oval diff Oval build Can be use for Unit-test to Validation tests. Compare the output log file with a given reference file (Smart comparison of those lines which start with “[Oval]”) It is possible to set different run environments. Can run external scripts and external binaries. M Gallas CERN EP-SFT LCG-SPI: SW-Testing

Test Frameworks: QMTest Uses a graphical interface for creating and running tests The configuration files are in XML and can be created from the GUI. We provide also script to do it Runs tests in parallel Organizes tests hierarchically Supports execution of a single test or many at once Records dependencies among tests Can be run in batch mode -> easy integration with the Nightly-Building systems M Gallas CERN EP-SFT LCG-SPI: SW-Testing

Test Documents For all project is needed a Test Plan in order to have a clear idea of the type of tests, schedule, environment and responsibilities. We use a template Test Case template collects information about the existing tests and how they cover the expected functionality of the software. M Gallas CERN EP-SFT LCG-SPI: SW-Testing

User support: Web information http://spi.cern.ch/ http://spi.cern.ch/testing Test Frameworks HowTo Test doc Policies M Gallas CERN EP-SFT LCG-SPI: SW-Testing

Automatic testing requires User support: How-To * * * * 1 2 3 Follow sw-testing policies Automatic testing requires some standardization * M Gallas CERN EP-SFT LCG-SPI: SW-Testing

Final Remarks SPI SW-Testing Software testing is a needed step in the software development process. SPI provides test frameworks, templates and help to have a coherent automatic testing procedure with a common interface to run and browse the test results. The proposed testing tools were chosen following the criteria of a simple approach, tools in use in the experiments and freely available. SW-Testing Overview LCG-SPI SW-Testing Test Frameworks Test Documents User support SPI SW-Testing Following standards makes life easier to SPI and the users. Automatic testing is always needed and is a way to consolidate the software. Bug reports and typical use-cases from the users should be converted into tests SPI SW-testing has to evolve and consolidate following the needs of the LCG projects. All SPI sw-testing tools, templates, documentation can be used by any project. Thanks to: LCG-PI team LCG-POOL team LCG-SEAL team LCH-experiments M Gallas CERN EP-SFT LCG-SPI: SW-Testing