decoupling scenarios from behavior driven t ests
play

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


  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 1

  2. Outline ● Background ● Proposed Framework ● Implementation ● Case study ● Future Works 2

  3. Background ● Testing is hard! ● TDD: Test Driven Development ● But... 3

  4. Background (cntd.) ● BDD 4

  5. Proposed Framework The problem with current BDD impl. ● Our proposed solution ● 5

  6. Proposed Framework (cntd.) ● Pros: – Reduced LOC – Reduced maintenance cost – Increased efgectiveness ● Actor – Model-based user behavior simulation – An operational system 6

  7. From Criteria to Test 7

  8. Final Solution: Scenario Specifjcation 8

  9. Final Solution: Scenario Detection 9

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

  11. Future Works ● Difgerent actor implementations – Integration with existing tools ● Scenario pruning ● New metrics (e.g. coverage) ● Automatic action detection ● Real-world case study 11

  12. Q & A Thanks 12

Recommend


More recommend