M. Gallas IT-API LCG SPI project: testing1 Software Testing Infrastructure status LCG Software Process & Infrastructure (CERN, 10/23/02)

Slides:



Advertisements
Similar presentations
Agile Software Distribution
Advertisements

05/11/2001 CPT week Natalia Ratnikova, FNAL 1 Software Distribution in CMS Distribution unitFormContent Version of SCRAM managed project.
Project Management Summary Castor Development Team Castor Readiness Review – June 2006 German Cancio, Giuseppe Lo Presti, Sebastien Ponce CERN / IT.
Alternate Software Development Methodologies
BizTalk Deployment using Visual Studio Release Management
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.
AgriDrupal - a “suite of solutions” for agricultural information management and dissemination, built on the Drupal CMS; - the community of practice around.
Unit Testing Using PyUnit Monther Suboh Yazan Hamam Saddam Al-Mahasneh Miran Ahmad
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
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
Framework for Automated Builds Natalia Ratnikova CHEP’03.
SPI Software Process & Infrastructure EGEE France - 11 June 2004 Yannick Patois
Chapter 3 – Agile Software Development 1Chapter 3 Agile software development.
M Gallas CERN EP-SFT LCG-SPI: SW-Testing1 LCG-SPI: SW-Testing LCG Applications Area GridPP 7 th Collaboration Meeting LCG/SPI LCG.
© 2012 IBM Corporation Rational Insight | Back to Basis Series Chao Zhang Unit Testing.
RUP Implementation and Testing
COMP-14: Automating your deployments using ANT Gary S Clink Business Consultant.
Slide 1/8Jack IDE Tutorial, Index This program is part of the software suite that accompanies the book The Elements of Computing.
Nightly Releases and Testing Alexander Undrus Atlas SW week, May
J.T Moscicki CERN LCG - Software Process & Infrastructure1 SPI Software Process & Infrastructure for LCG Software Packaging and Distribution LCG Application.
NICOS System of Nightly Builds for Distributed Development Alexander Undrus CHEP’03.
A. Aimar - EP/SFT LCG - Software Process & Infrastructure1 Software Process panel SPI GRIDPP 7 th Collaboration Meeting 30 June – 2 July 2003 A.Aimar -
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
L. Mancera IT/API LCG SPI project: Code documentation1 Code Documentation Luis Mancera LCG Software Process & Infrastructure (CERN, 10/23/02)
LCG-SPI: SW-Testing LCG AppArea internal review (20/10/03)
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.
Preparation for Integration Organized access to the code WP6 infrastructure (MDS-2, RC, …) Input from WPs on requirements,... Acquire experience with Globus.
Feedback from the POOL Project User Feedback from the POOL Project Dirk Düllmann, LCG-POOL LCG Application Area Internal Review October 2003.
LCG Generator Meeting, December 11 th 2003 Introduction to the LCG Generator Monthly Meeting.
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.
SEAL Project Core Libraries and Services 18 December 2002 P. Mato / CERN Shared Environment for Applications at LHC.
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.
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
Software Engineering Overview DTI International Technology Service-Global Watch Mission “Mission to CERN in Distributed IT Applications” June 2004.
UHCS 2005, slide 1 About Continuous Integration. UHCS 2005, slide 2 Why do you write Unit Test ? Improve quality/robustness of your code Quick feedback.
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.
Trilinos Framework: Next Steps Thursday November 9, :45-9:30 a.m. Jim Willenbring Mike Phenow.
CHEP ' 2003David Chamont (CMS - LLR)1 OVAL A testing tool for CMS software
Geant4 is a toolkit to simulate the passage of particles through matter, and is widely used in HEP, in medical physics and for space applications. Ongoing.
Transition to SVN server: follow up P.Hristov 24/01/2008.
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.
David Adams ATLAS ATLAS Distributed Analysis and proposal for ATLAS-LHCb system David Adams BNL March 22, 2004 ATLAS-LHCb-GANGA Meeting.
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.
GLAST CHEP 03 March T.Burnett1/14 User-friendly tools for Managing Software Development Projects User-friendly tools for Managing Software Development.
Solvency II Tripartite template V2 and V3 Presentation of the conversion tools proposed by FundsXML France.
Introduction to Unit Testing and JUnit David Rabinowitz.
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.
SPI Infrastructure for LCG Software Projects
SPI external software build tool and distribution mechanism
SPI Software Process & Infrastructure
Leanne Guy EGEE JRA1 Test Team Manager
User Feedback from SEAL
Leigh Grundhoefer Indiana University
Course: Module: Lesson # & Name Instructional Material 1 of 32 Lesson Delivery Mode: Lesson Duration: Document Name: 1. Professional Diploma in ERP Systems.
Presentation transcript:

M. Gallas IT-API LCG SPI project: testing1 Software Testing Infrastructure status LCG Software Process & Infrastructure (CERN, 10/23/02)

M. Gallas IT-APILCG SPI project: testing 2 Index: Overview Unit-test Unit-test frameworks CppUnit Oval Unit-test structure and documentation Status & future plans

M. Gallas IT-APILCG SPI project: testing 3 Overview: LCG applications area project: software testing will be an integral part of the software development process All level of software testing should be run as part of an automatic process Software testing: We will select : simple techniques, tools and methodologies run the tests in automatic way SPI project Integration test System test Software testing Unit test (work package test) Individual developer domain

M. Gallas IT-APILCG SPI project: testing 4 Unit Test: Unit-tests Should validate expected functionality at the level of: individual class small groups of collaborating classes work package Important code should have unit tests Tests should be written together with the code Code should pass all unit tests before it can be released Software developer CODE Test programs Automatic software test run process Unit-test SPI component (Version 1) Test execution framework Testing naming and structure Test case specification template Code Documentation

M. Gallas IT-APILCG SPI project: testing 5 Unit-test: Test frameworks (I) Our constrains: Avoid commercial software and licensing problems. Avoid “do it yourself solutions” Try to adopt commonly used open-source software. Aim: to help developers: Our inputs: Contacts within HEP-community (CMS and G4 mainly, until now). What is available as free open source code. What we are doing: Trying CppUnit and Oval in the LCG-POOL project Preparing “HowTo” documents to make easier the installation of these tools and the start with process Our plans: Analysis of the CppUnit and Oval tools in the POOL environment. Feedback from the experiments and big HEP software projects. Deliver and document the component soon. to produce code for unit-testing to run tests in automatic way What we propose: CppUnit Oval

M. Gallas IT-APILCG SPI project: testing 6 CppUnit: Like JUnit but for C++ USED: in eXtreme Programing (XP) proposed for DataGrid Test frameworks (II): CppUnit A simple testA simple test: 1.Subclass the TestCase CppUnit class 2.Override the method runTest(). 3.When you want to check a value, call CPPUNIT_ASSERT(bool) and pass in an expresion that is true if the test succeeds Similar tools: Junit, PerlUnit, PyUnit, QtUnit Output in XML, compiler or text Windows version for MVC++6.0 Just starting in LCG-POOL project (1 test running)

M. Gallas IT-APILCG SPI project: testing 7 Test frameworks (II cont ): CppUnit

M. Gallas IT-APILCG SPI project: testing 8 Test frameworks (III): Oval Ovalfile (configuration) Executable Test Source Code Reference file Log file Oval run Oval diff Oval build Can be use for Unit-test. It is possible to set different run environments. Can run external scripts and external binaries. Authors modified it to run it with or without CMS specific environment (SCRAM …) (Thanks to David Chamont for the changes) Just starting in LCG-POOL project (1 test running) Oval: validation and regression used in CMS

M. Gallas IT-APILCG SPI project: testing 9 Test frameworks (III cont ): Oval

M. Gallas IT-APILCG SPI project: testing 10 Unit-test: structure and documentation SPI-TESTING component SPI-CVS_structure component CVS testing structure Test-naming  Will help to have a automatic way to run test code Test documentation: Test cases specification template srcdoctest testAtestB Ovalfile Nametest.ccp Nametest.ref Nametest.log [Nametest.in] [Mametest.out]

M. Gallas IT-APILCG SPI project: testing 11 Unit-test: documentation

M. Gallas IT-APILCG SPI project: testing 12 Status & Future Plans: Future Plans: Produce a first version of the SPI- Testing Component (V1) which will provide: - unit-test organization - test execution framework - test documentation and templates - complete user-documentation Feedback with the HEP experiments and big software projects. Status: Installing the component Supporting the component at POOL project Doing some test cases with them Preparing Howto’s

M. Gallas IT-APILCG SPI project: testing 13 INDEX review: Overview Unit-test Unit-test frameworks CppUnit Oval Unit-test structure and documentation Status & Future plans Thanks to: contacts within the experiments LCG-POOL team D. Chamont (Oval) Howto for installation and examples will be available soon… Feedback and interaction are always welcome!!