Testing - cs2340:TestingandDesign Fall 2008...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Testing Principles 1 cs2340:Testing and Design Fall 2008
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Testing Principles 2 Why Testing in a Design Course? Because we need to understand the specifications in OOA to generate test cases. Because building testable code is a design constraint during OOD. Because TDD is being used more and more in certain application domains. Because testing improves the overall quality of our OOP.
Background image of page 2
Testing Principles 3 Testing starts… Early in the project – Acceptance tests During Design – Usability tests During Implementation – Unit and Component tests During Integration – Integration tests During Testing – System and Alpha/Beta tests
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Testing Principles 4 Unit Tests Look at testing a single class or code module Are created to exercise the code Typically use an automated framework Are of two types: Whitebox and Blackbox Generate TestCases
Background image of page 4
5 Test Case A single input to the test with an expected output. If actual output not equal to expected
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/19/2009 for the course CS 2340 taught by Professor Staff during the Spring '08 term at Georgia Tech.

Page1 / 17

Testing - cs2340:TestingandDesign Fall 2008...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online