1 March 12, 2008 1 Testing William Cohen NCSU CSC 591W March 12, 2008.

Slides:



Advertisements
Similar presentations
Requirements for a UI Test Framework Stanislaw Wozniak Bernie Miles.
Advertisements

Lecture 8: Testing, Verification and Validation
1 Integration Testing CS 4311 I. Burnstein. Practical Software Testing, Springer-Verlag, 2003.
Testing and Quality Assurance
Automated Software Testing: Test Execution and Review Amritha Muralidharan (axm16u)
T. E. Potok - University of Tennessee Software Engineering Dr. Thomas E. Potok Adjunct Professor UT Research Staff Member ORNL.
OOP #10: Correctness Fritz Henglein. Wrap-up: Types A type is a collection of objects with common behavior (operations and properties). (Abstract) types.
Objectives Understand the basic concepts and definitions relating to testing, like error, fault, failure, test case, test suite, test harness. Understand.
Software Testing. “Software and Cathedrals are much the same: First we build them, then we pray!!!” -Sam Redwine, Jr.
 What is Software Testing  Terminologies used in Software testing  Types of Testing  What is Manual Testing  Types of Manual Testing  Process that.
Agile Testing with Testing Anywhere The road to automation need not be long.
Terms: Test (Case) vs. Test Suite
Categories of Testing.
Implementation & Integration Phase Implementation, then integration: Implementation, then integration:  Each module is implemented by member of programmer.
Objectives Understand the basic concepts and definitions relating to testing, like error, fault, failure, test case, test suite, test harness. Explore.
Testing Basics of Testing Presented by: Vijay.C.G – Glister Tech.
Software Development Software Testing. Testing Definitions There are many tests going under various names. The following is a general list to get a feel.
Jul 1, CUnit & Coverage Larry Shi. Jul 1, Agenda  Aim  CUnit  Screenshots(Automated)  Demo  TO-DO list.
16 October Reminder Types of Testing: Purpose  Functional testing  Usability testing  Conformance testing  Performance testing  Acceptance.
Software Construction Lecture 18 Software Testing.
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.
Software Engineering Saeed Akhtar The University of Lahore.
Integration testing Integrate two or more module.i.e. communicate between the modules. Follow a white box testing (Testing the code)
Dynamic Testing.
HNDIT23082 Lecture 09:Software Testing. Validations and Verification Validation and verification ( V & V ) is the name given to the checking and analysis.
Unit Testing with FlexUnit
1 Phase Testing. Janice Regan, For each group of units Overview of Implementation phase Create Class Skeletons Define Implementation Plan (+ determine.
Beginning Software Craftsmanship Brendan Enrick Steve Smith
Software engineering - 2 Section 8. QUIZ Show how it is possible to determine the height of a tall building with the aid of a barometer.
Testing Integral part of the software development process.
Software Engineering Lecture 11 Software Testing Presenter: Josef Hallberg 1.
WARNING These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010.
1 February 6, Patches William Cohen NCSU CSC 591W February 6, 2008.
1 March 19, Test Plans William Cohen NCSU CSC 591W March 19, 2008.
Software Testing. Software Quality Assurance Overarching term Time consuming (40% to 90% of dev effort) Includes –Verification: Building the product right,
Software Testing Kobla Setriakor Nyomi Faculty Intern (Programming II)
Implementing Full-Stack Test Automation for Drupal 8
What is Software Test Automation?
SaralTA Batch-07 Software Testing Presented By - Chittaranjan M.
Subject Name: Software Testing Subject Code: 10CS842 Prepared By:
Software Testing.
CompSci 230 Software Construction
Testing Verification and the Joy of Breaking Code
Software Engineering (CSI 321)
Dogtail: A GUI Test Tool
Software Packaging and Releasing
SOFTWARE TESTING OVERVIEW
Software Testing.
Verification and Testing
Software engineering – 1
Some Simple Definitions for Testing
WHITEBOX TESTING APPROACH
White-Box Testing.
Applied Software Implementation & Testing
AUTOMATED SESSION PLANNING. In the present world, everything has become automated. By, a click everything is being processed. But the preparation of the.
Introduction to Software Testing
Lecture 09:Software Testing
White-Box Testing.
Testing and Test-Driven Development CSC 4700 Software Engineering
CS240: Advanced Programming Concepts
Informatics 43 – April 28, 2016.
Introduction to JUnit IT323 – Software Engineering II
Integration Testing CS 4311
Test Case Test case Describes an input Description and an expected output Description. Test case ID Section 1: Before execution Section 2: After execution.
In the Senior Design Center
Regression testing Tor Stållhane.
System analysis and design
Lab 8: GUI testing Software Testing LTAT
Integration Testing.
Presentation transcript:

1 March 12, Testing William Cohen NCSU CSC 591W March 12, 2008

2 2 Reasons for Testing ● Make sure that the software works as expected ● Minimize obvious failures ● Ensure that previous failures do not creep back into software.

3 March 12, Caveat on Testing ● Testing only demonstrate instants of failure ● Testing does not prove that the software will work in all cases

4 March 12, Black Box/White Box Testing ● White box: able to inspect code and base tests on that information ● Black box: unable to inspect codes operation

5 March 12, Types of testing ● Unit testing: check that building block work ● Integration testing: make sure modules work together ● Functional testing: check that things operate as expected ● Regression testing: previous problems converted into test cases ● System testing ● System integration testing ● Performance testing ● Acceptance testing

6 March 12, Test Case ● Specific inputs ● Action or procedure to perform ● Expected output (for success or failure) ● Need to determine pass or fail ● Want to make it possible for the machine to determine success (who wants to manually run tests)

7 March 12, Test Suite ● Collection of test cases ● Often automated scripts ● Want to make as easy as possible for people to run: ● Want to run them frequently to catch bugs early, e.g. Firefox tinderbox ● Want people running them in many environments ● Want to make it easy for people to add tests: ● New feature added to code, new tests added to testsuite

8 March 12, Writing Testsuite ● May use simple script to check whether things work ● Example tools: ● Dejagnu, for batch oriented testing ● Dogtail, scripting for GUI applications

9 March 12, Testsuite Example

10 March 12, Code Coverage ● Show which areas of code are exercised during testing ● Can indicate which sections of program have not executed ● GCC: ● Generate with “-fprofile-arcs -ftest-coverage” options ● Render with lcov

11 March 12, Code Coverage Example