Decoupling Scenarios from Behavior-Driven T ests Seyed Mehran - - PowerPoint PPT Presentation

decoupling scenarios from behavior driven t ests
SMART_READER_LITE
LIVE PREVIEW

Decoupling Scenarios from Behavior-Driven T ests Seyed Mehran - - PowerPoint PPT Presentation

Decoupling Scenarios from Behavior-Driven T ests Seyed Mehran Kholdi Mohammad Hossein Sekhavat Supervisor: Seyed Hassan Mirian Hosseinabadi Sharif University Of T echnology Computer Engineering Department Summer 1395 1 Outline


slide-1
SLIDE 1

1

Decoupling Scenarios from Behavior-Driven T ests

Seyed Mehran Kholdi Mohammad Hossein Sekhavat Supervisor: Seyed Hassan Mirian Hosseinabadi Sharif University Of T echnology Computer Engineering Department Summer 1395

slide-2
SLIDE 2

2

Outline

  • Background
  • Proposed Framework
  • Implementation
  • Case study
  • Future Works
slide-3
SLIDE 3

3

Background

  • Testing is hard!
  • TDD: Test Driven Development
  • But...
slide-4
SLIDE 4

4

Background (cntd.)

  • BDD
slide-5
SLIDE 5

5

Proposed Framework

  • The problem with current BDD impl.
  • Our proposed solution
slide-6
SLIDE 6

6

Proposed Framework (cntd.)

  • Pros:

– Reduced LOC – Reduced maintenance cost – Increased efgectiveness

  • Actor

– Model-based user behavior simulation – An operational system

slide-7
SLIDE 7

7

From Criteria to Test

slide-8
SLIDE 8

8

Final Solution: Scenario Specifjcation

slide-9
SLIDE 9

9

Final Solution: Scenario Detection

slide-10
SLIDE 10

10

Final Solution: Scenario Detection (ctd.) Given => When => Then

slide-11
SLIDE 11

11

Future Works

  • Difgerent actor implementations

– Integration with existing tools

  • Scenario pruning
  • New metrics (e.g. coverage)
  • Automatic action detection
  • Real-world case study
slide-12
SLIDE 12

12

Q & A

Thanks