Page 1 Software Test Automation Texas Instruments Software Development Organization September 2009.

Slides:



Advertisements
Similar presentations
MICHAEL MARINO CSC 101 Whats New in Office Office Live Workspace 3 new things about Office Live Workspace are: Anywhere Access Store Microsoft.
Advertisements

LeadManager™- Internet Marketing Lead Management Solution May, 2009.
© 2010 Wipro Ltd - Confidential SGSN Automation Testing Using TTCN3 Authors: Jyothi Gavara Nikhil Rahul Ekka.
Test Case Management and Results Tracking System October 2008 D E L I V E R I N G Q U A L I T Y (Short Version)
The Client-Server Model for the Web 1. A Web Client (usually in the form of a web browser) makes an HTTP request to a specific web server. 2. The Web Server.
Uncovering Performance and Interoperability Issues in the OFED Stack March 2008 Dennis Tolstenko Sonoma Workshop Presentation.
Test Automation An Approach to Automated Software Regression Testing Presented by Adnet, Inc Feb 2015.
1 Opentest Architecture Table of Content –The Design Basic Components High-Level Test Architecture Test Flow –Services provided by each Layer Test Mgt.
2004 Cross-Platform Automated Regression Test Framework Ramkumar Ramalingam, Rispna Jain IBM Software Labs, India.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
TAC Vista Security. Target  TAC Vista & Security Integration  Key customer groups –Existing TAC Vista users Provide features and hardware for security.
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Remote Surveillance System Presented by: Robarin Holdings Limited Telephone: Facsimile:
Automated Tests in NICOS Nightly Control System Alexander Undrus Brookhaven National Laboratory, Upton, NY Software testing is a difficult, time-consuming.
© 2006, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice. Automation – How to.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Using The WDK For Windows Logo And Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
UNIT-V The MVC architecture and Struts Framework.
Load Test Planning Especially with HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Automatic Software Testing Tool for Computer Networks ARD Presentation Adi Shachar Yaniv Cohen Dudi Patimer
Client/Server Architectures
CLIENT A client is an application or system that accesses a service made available by a server. applicationserver.
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
Introduction to the Enterprise Library. Sounds familiar? Writing a component to encapsulate data access Building a component that allows you to log errors.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Benefits of Using AllFusion ERwin and Advantage Gen in the Same Project Lifecycle Steve Smith Jumar Solutions 28 th March 2007.
Module 13: Configuring Availability of Network Resources and Content.
Using the WDK for Windows Logo and Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
Testing Web to Wireless …and Back March 2001 Presenter: Shirley DeLewis, CQA, CSTE, CPSA.
Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen
Module 7: Fundamentals of Administering Windows Server 2008.
Winrunner Usage - Best Practices S.A.Christopher.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
CHAPTER TEN AUTHORING.
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
Computer Emergency Notification System (CENS)
Introduction to the Adapter Server Rob Mace June, 2008.
Middleware for FIs Apeego House 4B, Tardeo Rd. Mumbai Tel: Fax:
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Tool Integration with Data and Computation Grid GWE - “Grid Wizard Enterprise”
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
I Copyright © 2007, Oracle. All rights reserved. Module i: Siebel 8.0 Essentials Training Siebel 8.0 Essentials.
CASE (Computer-Aided Software Engineering) Tools Software that is used to support software process activities. Provides software process support by:- –
I NTRODUCTION TO N ETWORK A DMINISTRATION. W HAT IS A N ETWORK ? A network is a group of computers connected to each other to share information. Networks.
MVC WITH CODEIGNITER Presented By Bhanu Priya.
Hands-On Virtual Computing
Tool Integration with Data and Computation Grid “Grid Wizard 2”
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Institute for the Protection and Security of the Citizen HAZAS – Hazard Assessment ECCAIRS Technical Course Provided by the Joint Research Centre - Ispra.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
2: Operating Systems Networking for Home & Small Business.
Copyright © New Signature Who we are: Focused on consistently delivering great customer experiences. What we do: We help you transform your business.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
Review for Eclipse Release Review | © 2012 by Review for Eclipse Committers, made available under the EPL v1.0 1 Review for Eclipse (R4E) 0.11 Release.
Resource Manager The Resource Manager is implemented as a custom STAF service called RESMGR. RESMGR manage resources at the execution engines level (TEEs.
DaVinci Overview (features and programming) Kim dong hyouk.
Network and Server Basics. Learning Objectives After viewing this presentation, you will be able to: Understand the benefits of a client/server network.
Integrating ArcSight with Enterprise Ticketing Systems
Understanding SOAP and REST calls The types of web service requests
Solutions: Backup & Restore
Dev Test on Windows Azure Solution in a Box
Lecture 1: Multi-tier Architecture Overview
Training Module Introduction to the TB9100/P25 CG/P25 TAG Customer Service Software (CSS) Describes Release 3.95 for Trunked TB9100 and P25 TAG Release.
Network Controllable MP3 Player
Introducing MagicInfo 6
Presentation transcript:

Page 1 Software Test Automation Texas Instruments Software Development Organization September 2009

Page 2 Agenda 1. Goals of Common SDO test automation effort. 2. System Architecture / Layers 3. Test Setup 4. Test Plans 5. Roadmap

Page 3 1) Goals

Page 4 Goal of SDO Automation Effort To establish a common integration and test infrastructure for development and test teams to use across SDO that leverages open source components To enable customers, partners, and community to run regression tests and contribute tests

Page 5 Goals and Solutions Goal: Share same test suites/test cases across sites – Solution: Use open source test management system (Test Link) to store test suites. Use single test database at all sites Automate the test execution of most test suites/test cases. Goal: Open architecture to support multiple execution engines – Solution: Design a system that allows using different types of execution engines to suit user needs. The execution engine type is part of the test case definition. Goal: Share hardware resources – Solution: Implement a common Resource Manager that allocates resources as needed Goal: Enable more people to run tests – Solution: Implement a web-based test management system that allows people to trigger common tests and get results at local or remote locations. Goal: Facilitate Continuous Integration & Test – Solution: Incorporate Build Execution Engines (BEE) into the test automation architecture so a Continuous-Integration system can be implemented. Code can be built and tested by developers and testers as often as desired and at any point in the development cycle. Goal: Maximize Open Source Software usage – Solution: Leverage existing open source tools as much as possible The new test architecture uses TestLink and Staf.

Page 6 2) System Architecture

Page 7 High-Level Test Architecture Test Master Controller Build Execution Engine Test Management System Test Artifacts (Mysql) Service Provider Test Execution Engine Test Execution Engine Service Provider Test Execution Engine Site A Build Execution Engine Test Management System Test Artifacts (Mysql) Service Provider Test Execution Engine Test Execution Engine Service Provider Test Execution Engine Site B IP Network Test Artifacts Databases must be synchronized on a periodic basis The 3 rd layer is the service-providers layer. TEE and BEE are just special Service Providers. It should be possible to reuse Service Providers across sites if/when desired Typically 1 TMS : 1 TMC 1 TMC : Many Service Providers Test Master Controller Create and Manage Test Cases & Organize them into Test Plans. Request Test Job Execution. Manage Resources. Dispatch & Monitor Jobs. Execute Build & Test Jobs.

Page 8 Test Architecture: 3 Functional Layers 1) Test Management System. 2) Test Master Controller. 3) Service Providers Test Projects Test Management System TI Custom Fields* Test Master Controller TestLink (GPL) + Staf Staf (EPL) Test Reports Test Requirements Test Execution Engine … Equipment Drivers * Custom fields= Test Execution Engine, Test Execution Logic, Test Parameters, HW Assets, SW Assets Staf + Vatf|Stax|iCOTS|TestRunner|Other Test Cases Web Front-End Execution Logic Resource Management Service n 1 1 Data in XML Data adapted to TEE Build Execution Engine … Execution Logic Data adapted to BEE n Dispatcher Service Monitor Service Test Plans

Page 9 Test Management Layer: Test Link Test Link is an open source test management tool – It uses a MySQL database to hold test cases / test suites / test plans – It runs on a server, and requires no proprietary tools to run – It uses a browser as the user interface – It does not natively have good support for automated test cases, but we are enhancing its automation support by integrating it with STAF

Page 10 Test Master Controller Layer: Staf Staf is an open source, multi-platform, multi-language framework designed around the idea of reusable components. – It allows Staf processes on different machines to communicate & initiate processes on each other We will use it for: – Resource management – Dispatching test requests for execution – Tracking test execution – Communication between layers of the system

Page 11 Service Providers: TEE / BEE Layer The service providers layer creates builds and runs tests Initial implementation: – Test Engine: VATF (Home-grown Test Execution Engine) – Build Engine: File BEE (provides pre-built image) Arago BEE (builds image using Arago/OE infrastructure) Staf client will run on test execution systems to interface the TEE and BEE components to the TMC layer, and to perform resource registration / status

Page 12 3) Test Setups

Page 13 High-Level Test Setup

Page 14 TEE Test Setup details (USB)

Page 15 TEE Test Setup Details (OVQ)

Page 16 4) Test Plans

Page 17 Test Plans TI will offer Test Plans for individual components (i.e. PSP) and for integrated systems/solutions (i.e. DVSDK). TI will provide Test plans for different test scopes: – L1: Level 1 Sanity (a.k.a Smoke) tests focus on verifying that a feature or component is operational. Each L1 test should take at most few minutes to complete and the whole L1 test plan should not take more than 12 hours to run. L1 test plan should be run as frequently as possible. – L2: Level 2 tests focus on complete functional validation. The L2 Test plan may take few days to run and may involved manual testing. – L3: Level 3 tests focus on measuring performance, stressing the system and exercising system use case scenarios. The L3 test plan may take few weeks to run and most likely required some manual testing.

Page 18 Test Plans cont. TI has test plans for many areas as shown in the next two slides, however they are not yet in TestLink format. TI is currently in the process of migrating existing test plans to TestLink. After migrating the test plans to TestLink, we will benefit from some of the features of the new system such as reuse same test logic at different locations, hardware resource management and continuous testing of software built using Arago. Existing automated test plans focus primarily on L1 and L2 testing. TI is working on adding more L3 tests as well as incorporating new open source test tools into the automated test plans.

Page 19 PSP Test Areas ATA Audio ALSA, OSS CIR EDMA Ethernet GPIO I2C Keyscan MMC SD, SDHC, SDIO NAND NOR RTC SPI Timer UART Uboot USB Host MSC, ISO, HID USB Slave MSC, CDC/RNDIS Video Fbdev Display Video V4L2 Display Video V4L2 Capture Video H3A Video Previewer/Resizer Video Face Detection WDT

Page 20 DVSDK Test Areas Applications: – Demos – DVTB – Gstreamer Codecs: – H.264 encoder – H.264 decoder – MPEG4 encoder – MPEG4 decoder – JPEG encoder – JPEG decoder – AAC encoder – AAC decoder – G711 encoder – G711 decoder – G729 encoder – G729 decoder – MP3 decoder

Page 21 Test Equipment & Drivers Drivers for the following Hardware has already been written and validated: – Generic Linux host driver (DM355, DM357, DM365, DM644x, DM6467, etc.) – APC Power Controller – Extron Video/Audio Switches – Extron USB Switches – Tascam DVD players – Pionner DVD players – Q-Master's Video Quality System – Video Clarity's Video Quality System – Generic PC Sound Card – Spectra Lab's Audio Quality System – Opera’s PESQ Speech Quality System. There are also some second-tier drivers that reuse HW drivers and add extra functionality – DVSDK DVTB for multiple DVSDK releases – DVSDK Demos for multiple DVSDK releases – Windows & Linux USB Hosts

Page 22 5) Roadmap

Page 23 Roadmap Beta: December 2009 – Internal and selected External users are able to setup the system and run existing Test Plans using ‘high-end’ test equipment. Open source Git Project available Contributions limited to internal and possibly a few external users. Installation Guide available. Users Guide available. GA: March 2010 – Users are able to develop new test plans on their own and contribute to the open source project. Contributions open to all Developers guide available. Developers how-to videos available. Support for less-expensive test equipment, so it is easier for anybody to run tests on their setup.

Page 24 Backup Slides

Page 25 Steps to create automated Test Plan 1. Select Test Equipment to use (if any) 2. Select BEE & TEE to use 3. Define Test Parameters 4. Write Test Equipment driver (if one doesn’t exist) 5. Write Test Script for selected TEE 6. Add new Test Cases/Test Suite to TestLink project. Each test case identifies: 1. Required Software Assets 2. Required Hardware Assets 3. Test Parameters (DUT, Test Equipment, Application) 4. Test Execution Engine type (i.e. VATF, STAX) 5. Test Script An easy way to remember the information that goes into the test case definitions is by remembering the word SHAPES

Page 26 DISPATCHER TMC’s StafProc RESMGR TMS/User Request TEE TEE Register w/ RESMGR and provides its type and capabilities upon startup. It also registers with the dispatcher and provides xslt or exec file to transform the test data. 2.Test Request send to TMC 3.DISPATCHER query RESMGR for available TEE type w/ required HW_ASSETS (capabilities) 4.RESMGR provides TEE machine name 5.DISPATCHER send test request to TEE machine gotten on step 4. 6.TEE completes job execution and notifies DIPATCHER. 7.DISPATCHER releases TEE 8.TEE unregister w/ RESMGR upon shutdown 7 8 TMC’s Resource Manager

Page 27 Test Management System’s Services TestLink Basic Definitions: – Test Project holds together the multiple test artifacts (test cases, test requirements, test plans, etc.) – Test Case describes a testing task and expected results. Test Cases are the fundamental piece of TestLink. – Test Suite is a collection of Test Cases. It organizes Test Cases to units. – Test Build is the software to be tested. It is part of the Test Plan. – Test Plan is created when you'd like to execute Test Cases. Test Plans can be made up of the Test Cases from the current Test Project. Main Services provided by the TMS: – Store all Test Artifacts – Provides ways to Add/Edit/Delete Test Artifacts:  Test Cases  Test Suites  Test Requirements  Test Builds  Test Plans (Test Cases + Build Tag) Test Results – Export/Import Test Plans to/from XML – Trigger test execution (optionally)

Page 28 Test Master Controller’s Services Dispatch Jobs to appropriate BEE & TEE Translate Test parameters between TMS and BEE/TEE Provide TMS-independent test case representation to TEE Provide a mechanism by which TEE can save test results in TMS Manage Service Providers

Page 29 Service Providers’ Services At least there will be two types of service providers: – BEE: Build Execution Engines to build the required software assets. – TEE: Test Execution Engines to run the test cases. The TEE maybe as simple as a shell script or as complex as VATF. BEE & TEE are the only service providers that the TMC Dispatcher directly request services from. Complex TEE, such as VATF, will typically perform these tasks: – Initialize HW assets (both Device Under Test and Test Equipment) – Create Test Parameters representation – Run Test Execution Logic Load Device Under Test (DUT) w/ appropriate SW assets Boot DUT Connect DUT to Test Equipment Configure DUT and Test Equipment Check conditions or measure metrics Determine Pass/Fail – Save Results & Logs