with visual studio 2012 and tfs 2012 - wordpress.com · 2012-12-04 · what is exploratory testing...

Post on 10-Aug-2020

0 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 1

With Visual Studio 2012 and TFS 2012

Fokko Veegens

@fokkoveegens

veegens.wordpress.com

Delta-N BV

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 2

About Quality

Unit testing

Fakes framework

Code reviews

Continuous integration

Test Manager – Exploratory testing

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 3

E.g. ISO 9001◦ Tell what you do

◦ Do what you have told

◦ Prove it

Software quality◦ Reliability

◦ Security

◦ Efficiency

◦ Mainainability

◦ Size

Loss of focus

Integrating heterogeneous

development teams

Quality after thought:

dev and test hand-offs

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 4

Define

• Product backlog items

• Tasks

Develop

• Code/Create unit test

• Use Fakes

• Review

• Checkin

Build

• CI Build

• Deploy

Test

• Exploratory testing

• Create bug

• Create test case

Define

• Product backlog items

• Tasks

Develop

• Code/Create unit test

• Use Fakes

• Review

• Checkin

Build

• CI Build

• Deploy

Test

• Exploratory testing

• Create bug

• Create test case

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 5

Find problems early

Support code changes

Documentation

Quality reporting

Arrange all necessary preconditions and inputs

Act on the object or method under test

Assert that the expected results have occurred

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 6

Define

• Product backlog items

• Tasks

Develop

•Code/Create unit test

•Use Fakes

•Review

•Checkin

Build

• CI Build

• Deploy

Test

• Exploratory testing

• Create bug

• Create test case

Visual Studio Ultimate only

Stub (substitute implementation > write interfaces!!)

Shim (modify compiled assemblies)

http://msdn.microsoft.com/en-us/library/hh549175.aspx

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 7

Shims Stubs

Slower

Static, sealed virtuals etc

Replace private method

with visible types

No support for

interface/abstract

method (no method

body)

Faster

Only through interfaces

Replace visible methods

only

Test implementation of

interface/abstract

method

Define

• Product backlog items

• Tasks

Develop

•Code/Create unit test

•Use Fakes

•Review

•Checkin

Build

• CI Build

• Deploy

Test

• Exploratory testing

• Create bug

• Create test case

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 8

Sanity Check

Improve quality

Knowledge transfer

Code review request

Code review response

Shelving

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 9

Define

• Product backlog items

• Tasks

Develop

•Code/Create unit test

•Use Fakes

•Review

•Checkin

Build

• CI Build

• Deploy

Test

• Exploratory testing

• Create bug

• Create test case

Benefits

Types

Easy?

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 10

Define

• Product backlog items

• Tasks

Develop

•Code/Create unit test

•Use Fakes

•Review

•Checkin

Build

• CI Build

• Deploy

Test

• Exploratory testing

• Create bug

• Create test case

Tool for functional testers

Testing with pre-defined steps

Exploratory testing

Recording and fast forward

TFS-connected

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 11

What is exploratory testing

Some myths

Tours

Define

• Product backlog items

• Tasks

Develop

•Code/Create unit test

•Use Fakes

•Review

•Checkin

Build

• CI Build

• Deploy

Test

• Exploratory testing

• Create bug

• Create test case

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 12

http://www.delta-n.nl

@FokkoVeegens

http://veegens.wordpress.com

4-12-2012

© Delta-N 2012Niets uit deze presentatie mag worden gekopieerd zonder schriftelijke toestemming van Delta-N 13

Unit testing:

◦ http://c2.com/cgi/wiki?ArrangeActAssert

◦ http://www.arrangeactassert.com

◦ http://msdn.microsoft.com/en-us/library/hh404088.aspx

Fakes Framework

◦ http://msdn.microsoft.com/en-us/library/hh549175.aspx

Code review

◦ http://msdn.microsoft.com/en-us/library/hh474795.aspx

Build

◦ http://msdn.microsoft.com/en-us/library/hh395023.aspx

Exploratory testing

◦ http://msdn.microsoft.com/en-us/library/vstudio/hh191621.aspx

top related