Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf ·...
Transcript of Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf ·...
![Page 1: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/1.jpg)
Variants of student solutions to assignments concerning
functional testing (classification tree method)
Michael Ritzschke
11th Workshop “Software Engineering Education and Reverse Engineering” Ohrid, Macedonia, 22 August – 27 August 2011
Humboldt-Universität zu Berlin Department of Computer Science
Software Engineering
![Page 2: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/2.jpg)
Lesson Functional Testing
Tool CTE (Classification Tree Editor)
Assignment “select test cases with classification tree method”
Student Solutions: Examples
Summary
Contents
2
![Page 3: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/3.jpg)
The lesson Functional Testing
Translation by Zoran Putnik
3
![Page 4: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/4.jpg)
The lesson: What means “Functional Testing”
4
![Page 5: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/5.jpg)
The lesson: Some Examples to explain the CT-method
5
Comp. Vision System: Identification of Shapes with typical properties 1: relevant aspects 2: test cases
![Page 6: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/6.jpg)
Lesson Functional Testing
Tool Classification Tree Editor
Assignment “select test cases with classification tree method”
Student Solutions: Examples
Summary
Contents
6
![Page 7: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/7.jpg)
www.systematic-testing.com Classification Tree Editor
eXtended Logics
free Version of CTE XL
the tool is popular amongst developers and testers and is successfully used in various domains
for possibilities see the link
7
![Page 8: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/8.jpg)
The tool window
8
![Page 9: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/9.jpg)
Lesson Functional Testing
Tool Classification Tree Editor
Assignment “select test cases with classification tree method”
Student Solutions: Examples
Summary
Contents
9
![Page 10: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/10.jpg)
10
Reminder of assignments
Assignments HU NS TIR
1. Review requirements specification “SemOrg”
2. Function points (Tool)
3. Review structured analysis model
4. Develop an OOA model Tool
5. Formal specifications (Tool)
6. Metrics Tool
7. Select test cases functionally by the CTE Tool
8. Select regression test cases by ATOS Tool
9. Review of a assgn solution of another team
10. Test coverage with SOTA Tool
x
x
(x)
x
x
x
x
x
-
x
x
x
x
x
x
x
-
-
x
x
x
-
-
x
x
-
-
-
Berlin: 8 assignments Novi Sad: 7 assignments Tirana: 4 assignments
![Page 11: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/11.jpg)
Use cases of “Seminar Organisation”
11
![Page 12: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/12.jpg)
The tasks for the students (teams)
think about the possible inputs for the use case “booking”, find out classifications and classes
study the tutorial of CTE to understand the main possibilities of the tool
create a classification tree with the help of CTE
find out necessary test cases for Minimality Criterion (every class must be represented at least once)
find 3 additional „interresting“ test cases
12
![Page 13: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/13.jpg)
Schema description of “booking”
13
![Page 14: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/14.jpg)
Relevant aspects of “booking”
14
the kind of the Seminar: company-internal, public
kind of client: company, private
registration status of client or company: available, obsolete, new
kind of presentation: don’t exist, occurs, fully booked
payment morale
...
![Page 15: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/15.jpg)
Lesson Functional Testing
Tool Classification Tree Editor
Assignment “select test cases with classification tree method”
Student Solutions: Examples
Summary
Contents
15
![Page 16: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/16.jpg)
Example 1
16
![Page 17: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/17.jpg)
Example 2
17
flat hierarchy with element composition
![Page 18: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/18.jpg)
Example 2
18
![Page 19: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/19.jpg)
Example 2
19
3 test cases to fulfill Minimality Criterion
![Page 20: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/20.jpg)
Example 3
20
flat hierarchy without composition
![Page 21: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/21.jpg)
Lesson Functional Testing
Tool Classification Tree Editor
Assignment “select test cases with classification tree method”
Students Solutions: Examples with mistakes
Summary
Contents
21
![Page 22: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/22.jpg)
Example 1
classification and classes: decomposition of the input space not activities (check presentation, recall client data …)
not outputs (send informations …)
22
![Page 23: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/23.jpg)
Example 2
23
incomplete test cases: question mark means that no class has yet been marked
![Page 24: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/24.jpg)
Example 3
24 5 test cases necessary for Minimality Criterion
![Page 25: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/25.jpg)
Example 4: inconvenient solution
several identical classification and classes
25
![Page 26: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/26.jpg)
Example 5: extremely extensive tree
26
![Page 27: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/27.jpg)
Example 5
27
type of data of the input space: digit, date, String …
possible mistakes in the input stream: not a number
![Page 28: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/28.jpg)
Summary
students learn how it’s possible to find test cases early in software development process
there are many possibilities for the design of the CT, so we get different solutions
work with a professional Tool
think about useful test cases and about the minimal and maximal number
the method is easy to understand
students have further tasks
28
![Page 29: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/29.jpg)
Entirely new CTE XL Professional
29
![Page 30: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification](https://reader033.fdocuments.us/reader033/viewer/2022051720/5a78b68b7f8b9a21538c4be1/html5/thumbnails/30.jpg)
Summary
Thank you for your attention!
30