Testing in CS1 Lennie Cooper Kevin Lawrence LeAndrew Davis

Slides:



Advertisements
Similar presentations
Credit hours: 4 Contact hours: 50 (30 Theory, 20 Lab) Prerequisite: TB143 Introduction to Personal Computers.
Advertisements

Credit hours: 4 Contact hours: 50 (30 Theory, 20 Lab) Prerequisite: TB143 Introduction to Personal Computers.
Week 4 – Functions Introduction. Functions: Purpose Breaking a large problem into a series of smaller problems is a common problem- solving technique.
1 CS101 Introduction to Computing Lecture 17 Algorithms II.
Annoucements  Next labs 9 and 10 are paired for everyone. So don’t miss the lab.  There is a review session for the quiz on Monday, November 4, at 8:00.
Group that looked at Miami syllabus. Current Syllabus (with regards to testing) 2: To be able to identify and eliminate errors in programs – 2.1: Describe.
1 Software Engineering Lecture 11 Software Testing.
Software Failure: Reasons Incorrect, missing, impossible requirements * Requirement validation. Incorrect specification * Specification verification. Faulty.
Software engineering for real-time systems
Feb. 23, 2004CS WPI1 CS 509 Design of Software Systems Lecture #5 Monday, Feb. 23, 2004.
Testing Dr. Andrew Wallace PhD BEng(hons) EurIng
Test Design Techniques
Software Quality Assurance and Testing prof. A. C. (Alex) Telea Course description.
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Instructor Kostas Kontogiannis.
© 2012 IBM Corporation Rational Insight | Back to Basis Series Chao Zhang Unit Testing.
Class Specification Implementation Graph By: Njume Njinimbam Chi-Chang Sun.
Introduction Telerik Software Academy Software Quality Assurance.
CSc 2310 Principles of Programming (Java) Dr. Xiaolin Hu.
1 A Simple but Realistic Assembly Language for a Course in Computer Organization Eric Larson Moon Ok Kim Seattle University October 25, 2008.
1 Phase Testing. \ 2 Overview of Implementation phase Create Class Skeletons Define Implementation Plan (+ determine subphases) Define Coding Standards.
Chapter 3: Completing the Problem- Solving Process and Getting Started with C++ Introduction to Programming with C++ Fourth Edition.
COP 3530 PROGRAM, FILE & DATA STRUCTURES Syllabus Syllabus Lab Information Lab Information Overrides Overrides Questions? Questions?
1 Software Testing. 2 Path Testing 3 Structural Testing Also known as glass box, structural, clear box and white box testing. A software testing technique.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Ministry of Higher Education Sohar College of Applied Sciences IT department Comp Introduction to Programming Using C++ Fall, 2011.
CS Welcome to CS 5383, Topics in Software Assurance, Toward Zero-defect Programming Spring 2007.
UNIT-1 SOFTWARE PRODUCT AND PROCESS: Introduction – S/W Engineering paradigm – Verification – Validation – Life cycle models – System engineering –
SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during.
Using Open Source Projects in Higher Education: A Two-Way Certification Framework Pantelis M. Papadopoulos, United Nations University Ioannis G. Stamelos,
Software Testing and Quality Assurance 1. What is the objectives of Software Testing?
1 Software Test Computer Science Department, Information Faculty Dr. KaiYu Wan.
Software Quality Assurance and Testing Fazal Rehman Shamil.
The Hashemite University Computer Engineering Department
Testing and Evaluating Software Solutions Introduction.
1 Phase Testing. Janice Regan, For each group of units Overview of Implementation phase Create Class Skeletons Define Implementation Plan (+ determine.
BSBPMG501A Manage Project Integrative Processes Manage Project Integrative Processes Project Integration Processes – Part 2 Diploma of Project Management.
“Babeş-Bolyai” University Faculty of Economics and Business Administration Second semester 1st year, English line of study Business IT Introductive course.
1 Introduction to Engineering Spring 2007 Lecture 18: Digital Tools 2.
Software Testing. Software Quality Assurance Overarching term Time consuming (40% to 90% of dev effort) Includes –Verification: Building the product right,
CS140 – Computer Programming 1 Course Overview First Semester – Fall /1438 – 2016/2017 CS140 - Computer Programming 11.
IT 210 Week 2 Individual Application-Level Requirements To purchase this material link
IT 210 Week 7 Chapter 5 Programming Problems To purchase this material link Programming-Problems.
Advanced Higher Computing Science
SKMM1013 Programming for Engineers
Software Testing.
Programming Languages
CSc 1302 Principles of Computer Science II
Introduction Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe.
Approaches to ---Testing Software
Topic: Python’s building blocks -> Variables, Values, and Types
TechStambha PMP Certification Training
Gary Hughes, South Oakleigh College
Presented by: Edfan Tjandra Alireza Behrouzi Shad
FORMAL SYSTEM DEVELOPMENT METHODOLOGIES
CIS 115Competitive Success/tutorialrank.com
CIS 115 Lessons in Excellence-- cis115.com. CIS 115 All Exercises Devry University (Devry) For more course tutorials visit CIS 115 All.
CIS 115 Education for Service-- tutorialrank.com.
CIS 115 Education for Service-- cis115.com. CIS 115 All Exercises Devry University (Devry) For more course tutorials visit CIS 115 All.
CIS 210 Systems Analysis and Development
EECE 310 Software Engineering
Introduction to Programming Using C++
Test Case Test case Describes an input Description and an expected output Description. Test case ID Section 1: Before execution Section 2: After execution.
Topics Introduction to Value-returning Functions: Generating Random Numbers Writing Your Own Value-Returning Functions The math Module Storing Functions.
Concepts of programming languages Credit hours : 3 hours
do/while Selection Structure
SYNTHESIS THROUGH SERVICE LEARNING IN STATISTICS-PART TWO
CS114B Introduction to Computer Science II
Programming Fundamentals Lecture #1 Overview of Computer Programming
Welcome.
Software Testing.
Presentation transcript:

Testing in CS1 Lennie Cooper Kevin Lawrence LeAndrew Davis Djuradj Babich Testing in CS1

Course Description Introduction to OO Programming in C++ An introductory course in C++ programming. It covers the syntax and the rules of the C++ language, including how to code, compile, and execute programs. Students will learn program design, structured modular programming, arrays, report generation, and file processing, including basic software testing concepts and techniques. 11/13/2018 Testing in CS1

Formalize Testing @ the end of chapter on Basic Concepts Introduce basic testing concepts: Define Testing Introduce Terminology Define Test Case/Suite… Introduce basic test case classifications: Black-Box White-Box 11/13/2018 Testing in CS1

Assignment w/ Testing: Example Assignment: Example Program allows cashier to enter customers age as input. It determines if customer is allowed to purchase alcoholic beverage. The output is either Allow (age >=21) or Prohibit (age<21). Submission requirements example: Pseudo Code/Implementation Flow Chart Document Test Suite Document (w/out tool support) 11/13/2018 Testing in CS1

Test Suite Document: Example Test Case ID Testing Technique Purpose Set Up Input Expected Output Actual Output TC1 Equivalence Underage Test Execute Program 12 Prohibit TC2 Of Age Test 27 Allow TC3 Boundary Underage Test 20 TC4 22 TC5 21 11/13/2018 Testing in CS1

Introduce 4 Testing Techniques @ the end of chapter on Decision Structure: Equivalence Testing Boundary Testing @ the end of chapter on Repetition Structure: Control Flow-Based Testing: Statement Coverage Branch Coverage 11/13/2018 Testing in CS1

Integrate Testing Chapter Testing Concept Overview N/A Basic Concepts Formalize Testing I/O Decision Introduce Equivalence and Boundary Testing Test suite document required with lab submissions Repetition Introduce Statement and Branch Coverage Testing Test suite document required with lab submissions Functions Records Arrays Classes Use all 4 testing techniques as assigned Test suite document required with lab submissions 11/13/2018 Testing in CS1

Evaluation Plan Assess student’s knowledge of testing Pre-Test (administered @ the beginning of the lecture that formalizes software testing) Post-Test (administered during the last two weeks of the semester) Grade distribution for labs excludes testing Quality Rubrics Obtain student feedback on usefulness of testing Survey measured in a likert scale (administered during the last two weeks of the semester) Keep track of introduced overhead Instructor’s Log 11/13/2018 Testing in CS1

Question, Comments, Concerns, and Queries? Thank You Question, Comments, Concerns, and Queries? 11/13/2018 Testing in CS1