TDDD04 Software Testing
Course Lectures
The lecture slides and related material used during the lectures will be made available for download after each lecture. Please check regularly this page for the latest update of the course material.
Lecture 01 |
Introduction to Testing, Black Box Testing |
12 Mar 2012 |
| Lecturer | Peter Bunus | |
| Reading Material | Chapter 1-4 Course Book |
|
| Slides | Lecture01_1slides_per_page Lecture01_2slides_per_page |
Lecture 02 |
White Box Testing. Control Flow Testing |
19 Mar 2012 |
| Lecturer | Peter Bunus | |
| Reading Material | Chapter 10 Course Book |
|
| Slides | Lecture02_1slides_per_page Lecture02_2slides_per_page |
Lecture 03 |
Black Box Testing |
23 Mar 2012 |
| Lecturer | Peter Bunus | |
| Reading Material | Chapter 3-9 Course Book |
|
| Slides | Lecture03_1slides_per_page Lecture03_2slides_per_page |
Lecture 04 |
White Box Testing - Data Flow Testing |
26 Mar 2012 |
| Lecturer | Peter Bunus | |
| Reading Material | Course Book Chapter 11 An Introduction to Data-Flow Testing, Janvi Badlaney, Rohit Ghatol, Romit Jadhwani |
|
| Slides | Lecture04_1slides_per_page Lecture04_2slides_per_page |
Lecture 05 |
Invited Lecture - Testing in Real Life |
30 Mar 2012 |
| Lecturer | Mohamed AbuBaker - Test Manager (Zenterio AB) | |
| Reading Material |
|
|
| Slides | ||
Exam Preparation |
30 Mar 2012 |
|
| Lecturer | Peter Bunus | |
| Reading Material |
|
|
| Slides | ExamPreparation_1slides_per_page ExamPreparation_2slides_per_page |
Practical Exercise
Here comes a nonmandatory(optional) exercise for those of you who would like to try out some new testing tools during the course.
| 1 | Download the Java source code of a simple interval arithmetic library from sourcefourge http://interval.sourceforge.net/interval/index.html |
| 2 | Interval arithmetic is the arithmetic of quantities that lie within specified ranges (i.e. intervals) instead of having definite known values. Interval arithmetic can be especially useful when working with data that is subject to measurement errors or uncertainties. For a short overview of interval arithmetic please consult the Wikipedia webpage. http://en.wikipedia.org/wiki/Interval_arithmetic |
| 3 | Create and compile sample project in Eclipse that integrates the Java interval arithmetic library that you have just downloaded. |
| 4 | In the next step you should download and install JUnit on you Eclipse environment (if it is not already installed, most of the Eclipse installations already have the JUnit plug-in installed). There are several good tutorials on the internet on how to install and use JUnit in the eclipse environment. The folowing tutorial might be a good starting point: http://www.vogella.de/articles/JUnit/article.html |
| 5 | Create some unit test for yor application and especialy for the interval library. Learn how to write unit tests and how to use JUnit togehter with your projects. |
| 6 | In the next step you will learn how to use a testing coverage tool. Install and download the Attlasian Clover tool. More information on how to do this can be found here: http://confluence.atlassian.com/display/CLOVER/Clover-for-Eclipse+Installation+Guide |
| 7 | You can obtain a full license for Clover by sending an email to Peter Bunus with the following subject line "TDDD04 Clover License". You need to be enrolled in the TDDD04 course in order to get the license and the issued license can be used only for educational purposes and in the framework of this course. |
| 8 | Get confortable with Clover and compute some coverage metrics. A clover for Eclipse user guide can be found here: http://confluence.atlassian.com/display/CLOVER/Clover-for-Eclipse+User%27s+Guide Check how Clover computes the cylomatic complexity of the module under the test. |
Lecture 06 |
Integration Testing |
16 Apr 2012 |
| Lecturer | Kristian Sandahl | |
| Reading Material | Jorgensen, Paul C.. Software Testing: A Craftsman's Approach, Third Edition. Auerbach Publications. © 2008. Books24x7. Online version is available via the library (accessed April 6, 2011) |
|
| Slides | Lecture06_1slides_per_page Lecture06_2slides_per_page |
Lecture 07 |
IEEE Std 829-2008 Test Plans |
20 Apr 2012 |
| Lecturer | Kristian Sandahl | |
| Reading Material | ||
| Slides | Lecture07_1slides_per_page Lecture07_2slides_per_page |
Lecture 08 |
The Agile Way |
23 April 2011 |
| Lecturer | Peter Bunus | |
| Reading Material |
|
|
| Slides | Lecture08_1slides_per_page Lecture08_2slides_per_page |
Lecture 09 |
Invited Lecture - Tieto |
27 April 2011 |
| Lecturer | Henrik Boden, Torkel Finnstrom | |
| Reading Material |
|
|
| Slides |
Lecture 10 |
System Level Testing |
04 May 2012 |
| Lecturer | Peter Bunus | |
| Reading Material |
|
|
| Slides | Lecture10_1slides_per_page Lecture10_2slides_per_page |
Lecture 11 |
Automating the Software Testing Process |
7 May 2011 |
| Lecturer | Peter Bunus | |
| Reading Material | Chapter 12 and Chapter 13 of the Course Book |
|
| Slides | Lecture11_1slides_per_page Lecture11_2slides_per_page |
Lecture 12 |
Automating the Software Testing Process - Cont' |
11 May 2011 |
| Lecturer | Peter Bunus | |
| Reading Material | Chapter 12 and Chapter 13 of the Course Book Article: The Distribution of Faults in a Large Industrial Software System |
|
| Slides | Lecture12_1slides_per_page Lecture11_2slides_per_page |