Testing Bootcamp

Preview:

DESCRIPTION

 

Citation preview

Testing Bootcamp

Mira Ražman, Danijel Malik

Good Morning!

Mira Ražman IT QA Consultant,e-manent consulting partner

@Mira_from_QACmira.razman@qa-c.simira.razman@e-manent.com

Danijel MalikFreelance Developer at artifis s.p.

@DanijelMalikdanijel@artifis.si

We Are Not With „Them“ – We Are With You

Requirements Definition

Bootcamp Case

Features & Scenarios

Scenario 4: Store "Lidl" closes “in 26 minutes".Given: Store "Lidl" opening time is from 8.00 - 22.00, Current time is 21.34When: User presses a button "Filter"Then: Store "Lidl" is on the list, its status is orange “Closes in 26 minutes"

Feature 1: List of stores, filtered by Location

Feature 2: Search filter

Feature 3:Add a new store

Brainstorming Notes

Opening Time - Conditions

Arhitecture Definition

Planing

Features / User Stories and Tasks => TFS

HL Test Plan: TCs preparation while TDD Unit tests Manual (exploratory) test - UI Coded UI tests – at least smoke scenario Load / Performance test

Test Driven Development

TDD

TDD – let it be! Test == Requirement Red, Green, Refactor Feedback Code Coverage

Keep it simple!

Author: Vin Kamat http://vinkamat.com

Test Scenario 4

TDD – let it be .. again!

Unit tests Pair development Care for Code attitude Arrange, Act , Assert

How about costs !?

Unit Test

... and again!

Microsoft research costs development time vs. benefits (white paper referenced on Read & Get Inspired – Part 1): BENEFIT: between 40% and 90%  less defects vs. similar projects with no TDD practice applied.

COST : subjectively, the teams experienced a 15–35% increase in initial development time after adopting TDD.

Test Driven Development

Demo

Coded UI tests

Demo

Web and Load Testing

Demo

It is Your Turn

Read More & Get inspired - Part 1 White paper: Realizing quality improvement through TDD: results and experiences of four industrial teams

http://research.microsoft.com/en-us/groups/ese/nagappan_tdd.pdf

Agile Development Podcasts on http://skillsmatter.com

Demanding Software Professionalism - Robert C. Martin (Uncle Bob) on YouTube (Clean Code subject)

Read More & Get Inspired - Part 2 Clean Code: A Handbook of Agile Software Craftsman

ship by Robert C. Martin (Aug 11, 2008)

ATDD by Example: A Practical Guide to Acceptance Test-Driven Development (Addison-Wesley Signature Series (Beck)) by Markus Gärtner (Jul 6, 2012)

Specification by Example: How Successful Teams Deliver the Right Software by Gojko Adzic (Jun 3, 2011)

Test Driven Development: By Example by Kent Beck (Nov 18, 2002)

Growing Object-Oriented Software, Guided by Tests by Steve Freeman and Nat Pryce (Oct 22, 2009)

If you change nothing, nothing will change

Thank you!