Testing and Test Driven Development

Slides:



Advertisements
Similar presentations
The map and reduce functions in MapReduce are easy to test in isolation, which is a consequence of their functional style. For known inputs, they produce.
Advertisements

Software development process. Explanation of the iterative nature of the software development process.
Internet Technologies 1 Master of Information System Management Java Server Faces Model/View/Controller Design Pattern for Web Development Slides.
Test Driven Development: An Emerging Solution for Software Development.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Java Server Faces Model/View/Controller Design Pattern for Web Development Slides adapted from “Core JavaServer Faces” by Geary and Horstmann and the J2EE.
By: Gerardo L. Mazzola Web Application Development Life Cycle “A driven force moving businesses into the future.”
Whistle Stop Tour of The Module. Stop and think!
Testing Especially Unit Testing. V-model Wikipedia:
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
Design and Programming Chapter 7 Applied Software Project Management, Stellman & Greene See also:
Mohammadreza Asghari Oskoei University of Allameh 2012 Introduction to Visual Studio 2010.
(Building the Presentation Layer - KISS). Figuring out what to do! Every was not learnt over night and certainly not without proper help and support.
Whistle Stop Tour of The Module. This is a new module!
Phase Test Preperation. Getting a Clearer Picture Getting to a stage where we understand the problem more clearly Event tables Use case diagrams / descriptions.
COMP3121 E-Commerce Technologies Richard Henson University of Worcester December 2011.
12/14/2015 Concept of Test Driven Development applied to Embedded Systems M. Smith University of Calgary, Canada 1 Automated Testing Environment Concepts.
Where does the components of an SharePoint application resides? Can you see yours?
ASP.NET User Controls. User Controls In addition to using Web server controls in your ASP.NET Web pages, you can create your own custom, reusable controls.
SDJ INFOSOFT PVT. LTD. 2 BROWSERBROWSER JSP JavaBean DB Req Res Application Layer Enterprise server/Data Sources.
Whistle Stop Tour of The Module. Stop and think!
Powerpoint Templates Page 1 Powerpoint Templates Unit Testing Ari Seppi
Technologies and Characteristics Outline Description –Architecture –ER Model –Pages Template Reasons of some choices Problems Encountered Some.
Mapping Designs to Code. It specify how to map the design into object oriented language The UML artifacts created during the design work, the interaction.
Windows 10 Common VPN Error Tech Support Number
Software Development.
Black/White-Box Testing Reading:
Discovering Use Cases.
Test-driven development
Lecture 04: Thursday, January 15, 2015
Getting Started on The Project Bank in Visual Studio
Approaches to ---Testing Software
Testing All Input is Evil pt 2.
Software Testing.
Variables Data Types and Assignment
Testing Key Revision Points.
Template library tool and Kestrel training
Course Name: QTP Trainer: Laxmi Duration: 25 Hrs Session: Daily 1 Hr.
Seminar CS2310 Multimedia Software Engineering Krithika Ganesh
Applied Software Implementation & Testing
Smoke and Mirrors Prototype
02 | Developing ASP.NET MVC 4 Models
Creating and Using Classes
(Test Driven) Software Development
A Framework for Partial Payments
Design and Programming
Introduction to Systems Analysis and Design
Automated Testing Environment
IMAT2204 Project Management and Development
IMAT2204 Project Management and Development
Testing and Test-Driven Development CSC 4700 Software Engineering
Using JDeveloper.
CSE 403 Lecture 13 Black/White-Box Testing Reading:
IMAT2204 Project Management and Development
Smoke and Mirrors Prototype
Test Driven Development
IMAT2204 Project Management and Development
Testing.
Testing and Test Driven Development
5 POINT PLAN THE SYSTEMS LIFE CYCLE ANALYSE DESIGN
Software development process
Variables Data Types and Assignment
Test Driven Development
Chapter 5 Architectural Design.
Variables Data Types and Assignment
Testing.
Security - Forms Authentication
Software Testing.
Testing and Test Driven Development
Framework Anil
Presentation transcript:

Testing and Test Driven Development Phase Test Preperation

Getting a Clearer Picture Getting to a stage where we understand the problem more clearly Event tables Use case diagrams / descriptions An early prototype of the proposed system  

Visual Studio Configuration Project bank web facing front end Project bank locally hosted back end The class library A database file linked to both presentation layers

Two More Things A class diagram Test plans

The Class Diagram

The Test Plan Test Type Test Data Expected Result Actual Result Extreme Min Min -1 Min (Boundary) Min +1 Max -1 Max (Boundary) Max +1 Mid Extreme Max Invalid data type Other tests

Test Driven Development Testing is error prone and boring “Flat Pack” Programming? In TDD Create a test that fails (test plan my not always encourage this) Run the test and see it fail Fix the error in a simplistic way See the test pass Re-factor to implement the feature correctly All about small steps Builds confidence in the system Builds confidence in the programmer Programming Pathways

The Phase Test You may bring with you to the test Your class diagram Your test plan A single A4 page of handwritten notes (This will be inspected prior to the test start) You will create on the day Test framework Class library Test cases for 2 x properties of different data type 2 x parameters of different data type

For Example Properties Parameters in Valid CountyNo Int32 DateAdded DateTime Parameters in Valid PostCode DateAdded

Some Examples We will now work through some examples to get you atarted