+ All Categories
Home > Documents > Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf ·...

Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf ·...

Date post: 06-Feb-2018
Category:
Upload: duongmien
View: 215 times
Download: 2 times
Share this document with a friend
30
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
Transcript
Page 1: Variants of student solutions to assignments concerning ...ritzschk/paper/ohrid_2011.pdf · Variants of student solutions to assignments concerning functional testing (classification

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Summary

Thank you for your attention!

30


Recommended