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

13
4-12-2012 © Delta-N 2012 Niets 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

Upload: others

Post on 10-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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

Page 2: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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

Page 3: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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

Page 4: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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

Page 5: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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

Page 6: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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

Page 7: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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

Page 8: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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

Page 9: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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?

Page 10: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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

Page 11: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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

Page 12: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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

Page 13: With Visual Studio 2012 and TFS 2012 - WordPress.com · 2012-12-04 · What is exploratory testing Some myths Tours Define •Product backlog items •Tasks Develop •Code/Create

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