0 WPI First Experience Teaching Software Testing Lessons Learned Gary Pollice Worcester Polytechnic Institute and Rational Software Corp.

Slides:



Advertisements
Similar presentations
Delta Confidential 1 5/29 – 6/6, 2001 SAP R/3 V4.6c PP Module Order Change Management(OCM)
Advertisements

You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
2017/3/25 Test Case Upgrade from “Test Case-Training Material v1.4.ppt” of Testing basics Authors: NganVK Version: 1.4 Last Update: Dec-2005.
Using Matrices in Real Life
Advanced Piloting Cruise Plot.
Our library has two forms of encyclopedias: Hard copy and electronic versions. The first is simply the old-fashioned "book on the shelf" type of encyclopedia.
Copyright © 2002 Pearson Education, Inc. Slide 1.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
Remote Educational Programming Of Robots (REPOR) Tord Fauskanger Aurelie Aurilla Bechina Arntzen Dag Samuelsen Buskerud University College.
Science Subject Leader Training
NCATS REDESIGN METHODOLOGY A Menu of Redesign Options Six Models for Course Redesign Five Principles of Successful Course Redesign Four Models for Assessing.
Aviation Security Training Module 4 Design and Conduct Exercise II 1.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
1 The Academic Profession and the Managerial University: An International Comparative Study from Japan Akira Arimoto Research Institute for Higher Education.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 6 1 Microsoft Office Word 2003 Tutorial 6 – Creating Form Letters and Mailing Labels.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Exit a Customer Chapter 8. Exit a Customer 8-2 Objectives Perform exit summary process consisting of the following steps: Review service records Close.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
Multiplying binomials You will have 20 seconds to answer each of the following multiplication problems. If you get hung up, go to the next problem when.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
Raising Achievement. 2 Aims To explore approaches and materials to support the planning of learning. To consider strategies for preparing learners for.
1 Implementing Internet Web Sites in Counseling and Career Development James P. Sampson, Jr. Florida State University Copyright 2003 by James P. Sampson,
Introduction Lesson 1 Microsoft Office 2010 and the Internet
Richmond House, Liverpool (1) 26 th January 2004.
1 How to Enter Time. 2 Select: Log In Once logged in, Select: Employees.
Electric Bus Management System
Configuration management
ABC Technology Project
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
Green Eggs and Ham.
VOORBLAD.
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
Identifying Our Own Style Extended DISC ® Personal Analysis.
BIOLOGY AUGUST 2013 OPENING ASSIGNMENTS. AUGUST 7, 2013  Question goes here!
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
CMPT 275 Software Engineering
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 27 Slide 1 Quality Management.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
SIMOCODE-DP Software.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Addition 1’s to 20.
25 seconds left…...
U1A L1 Examples FACTORING REVIEW EXAMPLES.
H to shape fully developed personality to shape fully developed personality for successful application in life for successful.
Januar MDMDFSSMDMDFSSS
Week 1.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
A SMALL TRUTH TO MAKE LIFE 100%
PSSA Preparation.
Immunobiology: The Immune System in Health & Disease Sixth Edition
By Rasmussen College. 1. What majors or programs do you offer? 2. What is the average length of your programs? 3. What percentage of your students graduate?
CpSc 3220 Designing a Database
The tool that could change everything 1 The Tool that could for Employees Change Everything.
Educator Evaluation: A Protocol for Developing S.M.A.R.T. Goal Statements.
HTML Concepts and Techniques Fourth Edition Project 2 Creating and Editing a Web Page.
Presentation transcript:

0 WPI First Experience Teaching Software Testing Lessons Learned Gary Pollice Worcester Polytechnic Institute and Rational Software Corp.

1 WPI Agenda  Background  Things that worked  Things that didn’t work  Wish list  Questions

2 WPI Agenda  Background  Things that worked  Things that didn’t work  Wish list  Questions

3 WPI CS525T: Fall 2002  Graduate course: Software Testing   14 weeks  Text: A Practical Guide to Testing Object- Oriented Software, McGregor and Sykes  Goals  General understanding of testing principles  The role of testing in modern SDLCs  Experience testing software and using tools  Prepare students for further research

4 WPI CS525T: Fall 2002  Students  28 graduate students  No previous testing courses  Student motivation  Will help entry into industry  Needed a project course  Department motivation  Add to software engineering offerings

5 WPI CS525T: Fall 2002  Two projects  Small teams, 2-5 students  Evaluate a testing tool Commercial or non-commercialCommercial or non-commercial Prepare an evaluation report (template provided)Prepare an evaluation report (template provided) No two teams could do the same toolNo two teams could do the same tool  Test an open-source product radical Java GUI builder from SourceForgeradical Java GUI builder from SourceForge Several types of testing (left mostly up to the team)Several types of testing (left mostly up to the team) Prepare a software readiness reportPrepare a software readiness report

6 WPI CS525T: Fall 2002  Templates provided for several artifacts  Tool evaluation report  Test plan  Defect report  Test report  Simple test cases  JUnit TestCase and TestSuite files  Several templates taken from, or adapted from the Rational Unified Process ®

7 WPI Agenda  Background  Things that worked  Things that didn’t work  Wish list  Questions

8 WPI Black Box Testing  Easiest for students to understand  Simple examples  Triangle problem  Roman numeral converter  Easy to grasp the concept of test cases  It was fun for the students  Free pizza challenge

9 WPI Project 1: Tool Evaluation  Goals:  Understand something about a “real” testing tool  Learn how to evaluate a tool for its appropriateness to different situations  Learn how to use the tool  Template provided

10 WPI Project 1: Results  Ten reports produced  One ended up on tool vendor’s Web pages  What I didn’t do  Provide enough time for presentation and discussion

11 WPI (Semi)Formal Methods  Used OCL to specify software and develop constraint test cases  Focus on the technique rather than strict adherence to the formal method  Homework assignment: Develop OCL specifications for Java TreeMap class and implement tests in JUnit

12 WPI Formal Methods Results  Coupled theory and practice  Helped develop good techniques for test implementation  Common errors  Using a method to test itself  Making tests too specific  Grading OCL took a long time  Grading the JUnit tests was easy

13 WPI Examples

14 WPI Examples

15 WPI Examples

16 WPI Project 2: Test Real Software  Challenges  Where do you get the software  Like the 3 Bears’ porridge, not too easy, not too hard, but just right  Can you test multiple builds / iterations?  Open source provides a lot of possibilities  Over 7000 projects on SourceForge in Java  We used the Radical Java GUI builder project

17 WPI Project 2: Minimum Deliverables  Test plan  Coverage of at least 80% line coverage  Use case test  Students had to write the use case  UI testing  Exploratory testing  Defect Report

18 WPI Project 2: Results  All teams achieved coverage goals  Automated GUI testing was not effective  Only a single snapshot so record/playback was not necessary  Number of defects reported was low  Largest number was 16  Lowest number was 5  Students learned coverage tool well  Some students worried more about form than results

19 WPI Agenda  Background  Things that worked  Things that didn’t work  Wish list  Questions

20 WPI Testing in an Iterative Process  You need iterations and the materials that go with them  Learning about iterations and process is not the same as participating in an iterative project

21 WPI Iterative Development Testing Code Tests

22 WPI Building Test Tools  Significant part of the software tester’s job  Not enough time  Perhaps a separate course on toolsmithing, not just test tools  Emphasizing the need for good development skills for testers

23 WPI Miscellaneous Disasters  OATS  Difficult to motivate  Distribution  Lack of resources  Product lines and frameworks  Time and resources

24 WPI Agenda  Background  Things that worked  Things that didn’t work  Wish list  Questions

25 WPI Teaching Resources  Notes and slides  Recommended readings  Techniques

26 WPI Tool Resources  Commercial  Free  Where to get them  Applicability  Reviews

27 WPI Software Resources  The software testing tutorial resources!  Code  Models  Multiple technologies  Allow instructors to mix-and-match  Open source projects may be a place to mine  Current individual study at WPI looking into this

28 WPI Agenda  Background  Things that worked  Things that didn’t work  Wish list  Questions

29 WPI Thank You!