SlideShare uma empresa Scribd logo
1 de 35
Testing, testing
A first-look at the new testing
capabilities in Visual Studio 2010
Mathias Olausson
Callista Knowledgebase | QWise
QWise software engineering – refactored!

www.qwise.se
About Mathias...

QWise software engineering – refactored!

www.qwise.se
About the Presentation...
• What’s on the menu?
– Test planning and execution
– Issue tracking with rich bugs
– Eliminating the "works on my machine / cannot
reproduce" scenario
– Automated UI Testing
– Virtual Lab Management

QWise software engineering – refactored!

www.qwise.se
TEST PLANNING AND EXECUTION

QWise software engineering – refactored!

www.qwise.se
Agile Testing

QWise software engineering – refactored!

www.qwise.se
Core Practices

QWise software engineering – refactored!

www.qwise.se
Agile Testing Quadrants
Business-facing
Manual

Functional Tests

Exploratory Tests

Unit Tests
Component Tests

Performance Tests
Load Tests
Security Tests
”-ilitets” Tests

Critisizing the product

Supporting the team

Automated &
Manual

Automated

Automated
Technology-facing

QWise software engineering – refactored!

www.qwise.se
Test Types
Manual Tests
UI Tests

Acceptance Tests

Unit Tests / Component Tests

QWise software engineering – refactored!

www.qwise.se
Testing in an Iteration
sprint
sprint
plan
plan

build 11
build

sprint
sprint
plan
plan

implement
implement
user story ‘1’
user story ‘1’
(us1)
(us1)

build 22
build

implement
Implement
Implement
us2
US2
US2
fix bugs
fix bugs

build 33
build

write tests
write tests
for us1
for us1

fix bugs
fix bugs

build 44
build

test us1 &
test us1 &
file bugs
file bugs

write tests
write tests
for us2
for us2

QWise software engineering – refactored!

build 55
build

build 66
build

verify fixes
verify fixes

test us2 &
test us2 &
file bugs
file bugs

build 77
build

regress
regress
impacted
impacted
tests
tests
verify fixes
verify fixes
www.qwise.se
Microsoft Test Manager and Visual Studio
Testing (Teams)

Development (Teams)
Engineering Support
Unit Testing

Specialist

Generalist

Coded UI Test
Microsoft Test Runner

Web Test

Fast Forward For Manual Testing

Load Test

Test Case Management
Lab Management
Data Collectors (IntelliTrace, Test Impact, Metrics)
Team Foundation Server

QWise software engineering – refactored!

Reporting

www.qwise.se
The Fundamentals

QWise software engineering – refactored!

www.qwise.se
Defining and Running Tests

QWise software engineering – refactored!

www.qwise.se
ISSUE TRACKING WITH RICH BUGS

QWise software engineering – refactored!

www.qwise.se
Should We Do Bug Tracking?
Pros
– Tracability
– Priority of work
– Visibility

Cons
– Overhead

Should we log bugs within an iteration?
QWise software engineering – refactored!

Source: Pixar ”A bugs’ life”
www.qwise.se
Defect Tracking in MTM and MTR

QWise software engineering – refactored!

www.qwise.se
No-more-no-repro
• Automatic data
collection
• Test settings
– Configuration of
diagnostic data
collectors
– Assigned to test plan
• Or per test run

QWise software engineering – refactored!

www.qwise.se
Diagnostic Data Adapters

QWise software engineering – refactored!

www.qwise.se
No-more-no-repro

QWise software engineering – refactored!

www.qwise.se
AUTOMATED UI TESTING

QWise software engineering – refactored!

www.qwise.se
Why Automated Testing?

Källa: Tools for Agility, Kent Beck

QWise software engineering – refactored!

www.qwise.se
Automation Strategy
iteration 11
iteration
feature aa
feature

feature bb
feature

iteration 22
iteration
feature c c
feature

release iteration
release iteration

feature dd
feature

unit
testing

manual
testing

regression
testing

performance
testing

QWise software engineering – refactored!

www.qwise.se
Coded UI Tests
• Unit test for UI
• High-level framework
• Create test from
– Recording
– Test result (action
log)
– Using API

QWise software engineering – refactored!

www.qwise.se
Automation Platform Support

QWise software engineering – refactored!

www.qwise.se
Coded UI Tests

QWise software engineering – refactored!

www.qwise.se
LAB MANAGEMENT

QWise software engineering – refactored!

www.qwise.se
Motivation

QWise software engineering – refactored!

www.qwise.se
Lab Management Aims To...

QWise software engineering – refactored!

www.qwise.se
Lab Management Infrastructure
Team
Foundation
Server (TFS)
Lab Management

System Center Virtual
Machine Manager (SCVMM)

Test Case management
Build management
Work Item Tracking
Source Control

QWise software engineering – refactored!

Hyper-V
Hosts

Library
Shares

Virtual
Machine1

Library
Share1

Virtual
Machine2

Library
Share2

Virtual
Machinen

Library
Sharen

www.qwise.se
Environments
• An environment is a set of machines with
different roles
• An environment can
– Be deployed, saved, removed
– Started, stopped
– Snapsshot

VM1
Lab Agent

QWise software engineering – refactored!

VM2
Lab Agent

www.qwise.se
Manual Tests in Lab
• Testing from the outside
– Easy for web applications
– Limitations in data collection

• Testing from the inside
– Run application in lab via environment viewer

QWise software engineering – refactored!

www.qwise.se
Automatic Tests in Lab
• Testing in VM
– Test case connected to test environment
– Test component comes from selected build

• Testing in build
– Test case connected to build definition
– Runs test list or test component

QWise software engineering – refactored!

www.qwise.se
Lab Management Build Workflow

QWise software engineering – refactored!

www.qwise.se
Build and Deploy

QWise software engineering – refactored!

www.qwise.se
Summary
•
•
•
•
•

Structured test planning with MTM
Integrated test execution
Effective defect tracking with rich bugs
Seamless integration with automated tests
Powerful lab management

QWise software engineering – refactored!

www.qwise.se
Questions?

mathias.olausson@callista.se
http://msmvps.com/blogs/molausson

QWise software engineering – refactored!

www.qwise.se

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Test Armada Sauce Labs
Test Armada Sauce LabsTest Armada Sauce Labs
Test Armada Sauce Labs
 
Shifting Left Webinar Slideshow
Shifting Left Webinar SlideshowShifting Left Webinar Slideshow
Shifting Left Webinar Slideshow
 
Agile-plus-DevOps Testing for Packaged Applications
Agile-plus-DevOps Testing for Packaged ApplicationsAgile-plus-DevOps Testing for Packaged Applications
Agile-plus-DevOps Testing for Packaged Applications
 
Software Testing Solutions from DeRisk IT
Software Testing Solutions from DeRisk ITSoftware Testing Solutions from DeRisk IT
Software Testing Solutions from DeRisk IT
 
Building Quality into Your DevSecOps Pipelines
Building Quality into Your DevSecOps PipelinesBuilding Quality into Your DevSecOps Pipelines
Building Quality into Your DevSecOps Pipelines
 
Test armada integration with sauce labs
Test armada integration with sauce labsTest armada integration with sauce labs
Test armada integration with sauce labs
 
Exploratory Testing - concept and ideas for SpiraTest
Exploratory Testing - concept and ideas for SpiraTestExploratory Testing - concept and ideas for SpiraTest
Exploratory Testing - concept and ideas for SpiraTest
 
Automate More with Selenium for your RWD
Automate More with Selenium for your RWDAutomate More with Selenium for your RWD
Automate More with Selenium for your RWD
 
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
 
Drive Faster Quality Insights through Customized Test Automation - Part 2
Drive Faster Quality Insights through Customized Test Automation - Part 2Drive Faster Quality Insights through Customized Test Automation - Part 2
Drive Faster Quality Insights through Customized Test Automation - Part 2
 
Packaged vs. Custom Application Testing
Packaged vs. Custom Application TestingPackaged vs. Custom Application Testing
Packaged vs. Custom Application Testing
 
Four Keys to Efficient DevOps
Four Keys to Efficient DevOpsFour Keys to Efficient DevOps
Four Keys to Efficient DevOps
 
Spark 2013 Presentation of making the enterprise agile
Spark 2013 Presentation of making the enterprise agileSpark 2013 Presentation of making the enterprise agile
Spark 2013 Presentation of making the enterprise agile
 
Testwarez 2009 Use Proper Tool
Testwarez 2009 Use Proper ToolTestwarez 2009 Use Proper Tool
Testwarez 2009 Use Proper Tool
 
Automate Salesforce Releases with DevOps: Crawl, Walk, Run!
Automate Salesforce Releases with DevOps: Crawl, Walk, Run!Automate Salesforce Releases with DevOps: Crawl, Walk, Run!
Automate Salesforce Releases with DevOps: Crawl, Walk, Run!
 
Service Virtualization - Kalpna
Service Virtualization - KalpnaService Virtualization - Kalpna
Service Virtualization - Kalpna
 
Enterprise QA and Application Testing Services
Enterprise QA and Application Testing ServicesEnterprise QA and Application Testing Services
Enterprise QA and Application Testing Services
 
Salesforce – Proven Platform Development with DevOps & Agile
Salesforce – Proven Platform Development with DevOps & AgileSalesforce – Proven Platform Development with DevOps & Agile
Salesforce – Proven Platform Development with DevOps & Agile
 
[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps
[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps
[Webinar] Test First, Fail Fast - Simplifying the Tester's Transition to DevOps
 
Lights-Out Testing for Lights-On Business
Lights-Out Testing for Lights-On BusinessLights-Out Testing for Lights-On Business
Lights-Out Testing for Lights-On Business
 

Destaque (8)

Ui certification q&a
Ui certification q&aUi certification q&a
Ui certification q&a
 
Sedu t 268_2012
Sedu t 268_2012Sedu t 268_2012
Sedu t 268_2012
 
BB_April20_Thesis_rev5.1
BB_April20_Thesis_rev5.1BB_April20_Thesis_rev5.1
BB_April20_Thesis_rev5.1
 
Mis 2101 Questions
Mis 2101 QuestionsMis 2101 Questions
Mis 2101 Questions
 
Vsts intro
Vsts introVsts intro
Vsts intro
 
Coding standards & code verification through together cc
Coding standards & code verification through together ccCoding standards & code verification through together cc
Coding standards & code verification through together cc
 
Parking coupon-management-sil
Parking coupon-management-silParking coupon-management-sil
Parking coupon-management-sil
 
Loyaltycard softland
Loyaltycard softlandLoyaltycard softland
Loyaltycard softland
 

Semelhante a Testing, mathias olausson

Topics in Verification: Reuse, Coverage, Regression Engineering, Planning, Qu...
Topics in Verification: Reuse, Coverage, Regression Engineering, Planning, Qu...Topics in Verification: Reuse, Coverage, Regression Engineering, Planning, Qu...
Topics in Verification: Reuse, Coverage, Regression Engineering, Planning, Qu...
DVClub
 

Semelhante a Testing, mathias olausson (20)

Enterprise QA and Application Testing Services
Enterprise QA and Application Testing ServicesEnterprise QA and Application Testing Services
Enterprise QA and Application Testing Services
 
Cacique presentation (english)
Cacique presentation (english)Cacique presentation (english)
Cacique presentation (english)
 
SOASTA Webinar: Process Compression For Mobile App Dev 120612
SOASTA Webinar: Process Compression For Mobile App Dev 120612SOASTA Webinar: Process Compression For Mobile App Dev 120612
SOASTA Webinar: Process Compression For Mobile App Dev 120612
 
Topics in Verification: Reuse, Coverage, Regression Engineering, Planning, Qu...
Topics in Verification: Reuse, Coverage, Regression Engineering, Planning, Qu...Topics in Verification: Reuse, Coverage, Regression Engineering, Planning, Qu...
Topics in Verification: Reuse, Coverage, Regression Engineering, Planning, Qu...
 
QA with Microsoft Test Manager and Lab Management
QA with Microsoft Test Manager and Lab ManagementQA with Microsoft Test Manager and Lab Management
QA with Microsoft Test Manager and Lab Management
 
Merging Security with DevOps - An AppSec Perspective
Merging Security with DevOps - An AppSec PerspectiveMerging Security with DevOps - An AppSec Perspective
Merging Security with DevOps - An AppSec Perspective
 
Squish slidedeck
Squish slidedeckSquish slidedeck
Squish slidedeck
 
Software Testing Company | Quality Assurance Company
Software Testing Company | Quality Assurance CompanySoftware Testing Company | Quality Assurance Company
Software Testing Company | Quality Assurance Company
 
Gowtham_resume
Gowtham_resumeGowtham_resume
Gowtham_resume
 
Relieving the Testing Bottle Neck in Your Projects | cPrime + QASymphony
Relieving the Testing Bottle Neck in Your Projects | cPrime + QASymphonyRelieving the Testing Bottle Neck in Your Projects | cPrime + QASymphony
Relieving the Testing Bottle Neck in Your Projects | cPrime + QASymphony
 
Relieveing the Testing Bottle Neck - Webinar
Relieveing the Testing Bottle Neck - WebinarRelieveing the Testing Bottle Neck - Webinar
Relieveing the Testing Bottle Neck - Webinar
 
Neev Independent Testing Services
Neev Independent Testing ServicesNeev Independent Testing Services
Neev Independent Testing Services
 
AWS Summit Auckland - Application Delivery Patterns for Developers
AWS Summit Auckland - Application Delivery Patterns for DevelopersAWS Summit Auckland - Application Delivery Patterns for Developers
AWS Summit Auckland - Application Delivery Patterns for Developers
 
Qa in CI/CD
Qa in CI/CDQa in CI/CD
Qa in CI/CD
 
Automating OWASP Tests in your CI/CD
Automating OWASP Tests in your CI/CDAutomating OWASP Tests in your CI/CD
Automating OWASP Tests in your CI/CD
 
Mahbub_Resume
Mahbub_ResumeMahbub_Resume
Mahbub_Resume
 
QA is dead long live the new QA - Agile Dev and QA Conference Israel
QA is dead long live the new QA - Agile Dev and QA Conference IsraelQA is dead long live the new QA - Agile Dev and QA Conference Israel
QA is dead long live the new QA - Agile Dev and QA Conference Israel
 
Practicing Agile in Offshore Environment by Himanshu Seth & Imran Mir
Practicing Agile in Offshore Environment by Himanshu Seth & Imran MirPracticing Agile in Offshore Environment by Himanshu Seth & Imran Mir
Practicing Agile in Offshore Environment by Himanshu Seth & Imran Mir
 
Addressing Performance Testing Challenges in Agile- Impetus Webinar
Addressing Performance Testing Challenges in Agile- Impetus WebinarAddressing Performance Testing Challenges in Agile- Impetus Webinar
Addressing Performance Testing Challenges in Agile- Impetus Webinar
 
Leveraging Microsoft Azure for Next Gen App Development
Leveraging Microsoft Azure for Next Gen App DevelopmentLeveraging Microsoft Azure for Next Gen App Development
Leveraging Microsoft Azure for Next Gen App Development
 

Mais de Sevajothi Crafts

GO_Ms_No_303_Finance-_Pay-Cell__Dated_11_10_2017_FC-Final-2(1).pdf
GO_Ms_No_303_Finance-_Pay-Cell__Dated_11_10_2017_FC-Final-2(1).pdfGO_Ms_No_303_Finance-_Pay-Cell__Dated_11_10_2017_FC-Final-2(1).pdf
GO_Ms_No_303_Finance-_Pay-Cell__Dated_11_10_2017_FC-Final-2(1).pdf
Sevajothi Crafts
 

Mais de Sevajothi Crafts (20)

Sevajothi-crafts-pricelist.pdf
Sevajothi-crafts-pricelist.pdfSevajothi-crafts-pricelist.pdf
Sevajothi-crafts-pricelist.pdf
 
Report-No.-3-of-2023-Performance-Audit-on-IFHRMS-Tamil-065278522d89142.419916...
Report-No.-3-of-2023-Performance-Audit-on-IFHRMS-Tamil-065278522d89142.419916...Report-No.-3-of-2023-Performance-Audit-on-IFHRMS-Tamil-065278522d89142.419916...
Report-No.-3-of-2023-Performance-Audit-on-IFHRMS-Tamil-065278522d89142.419916...
 
73watchman.pdf
73watchman.pdf73watchman.pdf
73watchman.pdf
 
Occupational Safety, Health and Working Condition (Tamil Nadu) Rules, 2022.pdf
Occupational Safety, Health and Working Condition (Tamil Nadu) Rules, 2022.pdfOccupational Safety, Health and Working Condition (Tamil Nadu) Rules, 2022.pdf
Occupational Safety, Health and Working Condition (Tamil Nadu) Rules, 2022.pdf
 
Scholarship - Physical Verification.pdf
Scholarship - Physical Verification.pdfScholarship - Physical Verification.pdf
Scholarship - Physical Verification.pdf
 
GO_Ms_No_303_Finance-_Pay-Cell__Dated_11_10_2017_FC-Final-2(1).pdf
GO_Ms_No_303_Finance-_Pay-Cell__Dated_11_10_2017_FC-Final-2(1).pdfGO_Ms_No_303_Finance-_Pay-Cell__Dated_11_10_2017_FC-Final-2(1).pdf
GO_Ms_No_303_Finance-_Pay-Cell__Dated_11_10_2017_FC-Final-2(1).pdf
 
msk-stockoverflow23.pdf
msk-stockoverflow23.pdfmsk-stockoverflow23.pdf
msk-stockoverflow23.pdf
 
DREAM TRS 6 Sept 2023.pdf
DREAM TRS 6 Sept 2023.pdfDREAM TRS 6 Sept 2023.pdf
DREAM TRS 6 Sept 2023.pdf
 
THENCHITTU - SEP - 2023.pdf
THENCHITTU - SEP - 2023.pdfTHENCHITTU - SEP - 2023.pdf
THENCHITTU - SEP - 2023.pdf
 
PUTHU OONCHAL-SEP.pdf
PUTHU OONCHAL-SEP.pdfPUTHU OONCHAL-SEP.pdf
PUTHU OONCHAL-SEP.pdf
 
ShaalaTamil.pdf
ShaalaTamil.pdfShaalaTamil.pdf
ShaalaTamil.pdf
 
sjt pms save water notice.pdf
sjt pms save water notice.pdfsjt pms save water notice.pdf
sjt pms save water notice.pdf
 
blogs.docx
blogs.docxblogs.docx
blogs.docx
 
Election offers dinamalr20
Election offers dinamalr20Election offers dinamalr20
Election offers dinamalr20
 
Election public demands
Election public demandsElection public demands
Election public demands
 
1072007735 social awareness and cyber safety up 10.9.13
1072007735 social awareness and cyber safety   up 10.9.131072007735 social awareness and cyber safety   up 10.9.13
1072007735 social awareness and cyber safety up 10.9.13
 
Implementation of guidelines on tobacco control initiative in school reg
Implementation of guidelines on tobacco control initiative in school regImplementation of guidelines on tobacco control initiative in school reg
Implementation of guidelines on tobacco control initiative in school reg
 
General elections model code of conduct
General elections model code of conductGeneral elections model code of conduct
General elections model code of conduct
 
Road safety under age driving- awareness
Road safety   under age driving- awarenessRoad safety   under age driving- awareness
Road safety under age driving- awareness
 
Rashtriya indian miltary college admission
Rashtriya indian miltary college admissionRashtriya indian miltary college admission
Rashtriya indian miltary college admission
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Testing, mathias olausson

  • 1. Testing, testing A first-look at the new testing capabilities in Visual Studio 2010 Mathias Olausson Callista Knowledgebase | QWise QWise software engineering – refactored! www.qwise.se
  • 2. About Mathias... QWise software engineering – refactored! www.qwise.se
  • 3. About the Presentation... • What’s on the menu? – Test planning and execution – Issue tracking with rich bugs – Eliminating the "works on my machine / cannot reproduce" scenario – Automated UI Testing – Virtual Lab Management QWise software engineering – refactored! www.qwise.se
  • 4. TEST PLANNING AND EXECUTION QWise software engineering – refactored! www.qwise.se
  • 5. Agile Testing QWise software engineering – refactored! www.qwise.se
  • 6. Core Practices QWise software engineering – refactored! www.qwise.se
  • 7. Agile Testing Quadrants Business-facing Manual Functional Tests Exploratory Tests Unit Tests Component Tests Performance Tests Load Tests Security Tests ”-ilitets” Tests Critisizing the product Supporting the team Automated & Manual Automated Automated Technology-facing QWise software engineering – refactored! www.qwise.se
  • 8. Test Types Manual Tests UI Tests Acceptance Tests Unit Tests / Component Tests QWise software engineering – refactored! www.qwise.se
  • 9. Testing in an Iteration sprint sprint plan plan build 11 build sprint sprint plan plan implement implement user story ‘1’ user story ‘1’ (us1) (us1) build 22 build implement Implement Implement us2 US2 US2 fix bugs fix bugs build 33 build write tests write tests for us1 for us1 fix bugs fix bugs build 44 build test us1 & test us1 & file bugs file bugs write tests write tests for us2 for us2 QWise software engineering – refactored! build 55 build build 66 build verify fixes verify fixes test us2 & test us2 & file bugs file bugs build 77 build regress regress impacted impacted tests tests verify fixes verify fixes www.qwise.se
  • 10. Microsoft Test Manager and Visual Studio Testing (Teams) Development (Teams) Engineering Support Unit Testing Specialist Generalist Coded UI Test Microsoft Test Runner Web Test Fast Forward For Manual Testing Load Test Test Case Management Lab Management Data Collectors (IntelliTrace, Test Impact, Metrics) Team Foundation Server QWise software engineering – refactored! Reporting www.qwise.se
  • 11. The Fundamentals QWise software engineering – refactored! www.qwise.se
  • 12. Defining and Running Tests QWise software engineering – refactored! www.qwise.se
  • 13. ISSUE TRACKING WITH RICH BUGS QWise software engineering – refactored! www.qwise.se
  • 14. Should We Do Bug Tracking? Pros – Tracability – Priority of work – Visibility Cons – Overhead Should we log bugs within an iteration? QWise software engineering – refactored! Source: Pixar ”A bugs’ life” www.qwise.se
  • 15. Defect Tracking in MTM and MTR QWise software engineering – refactored! www.qwise.se
  • 16. No-more-no-repro • Automatic data collection • Test settings – Configuration of diagnostic data collectors – Assigned to test plan • Or per test run QWise software engineering – refactored! www.qwise.se
  • 17. Diagnostic Data Adapters QWise software engineering – refactored! www.qwise.se
  • 18. No-more-no-repro QWise software engineering – refactored! www.qwise.se
  • 19. AUTOMATED UI TESTING QWise software engineering – refactored! www.qwise.se
  • 20. Why Automated Testing? Källa: Tools for Agility, Kent Beck QWise software engineering – refactored! www.qwise.se
  • 21. Automation Strategy iteration 11 iteration feature aa feature feature bb feature iteration 22 iteration feature c c feature release iteration release iteration feature dd feature unit testing manual testing regression testing performance testing QWise software engineering – refactored! www.qwise.se
  • 22. Coded UI Tests • Unit test for UI • High-level framework • Create test from – Recording – Test result (action log) – Using API QWise software engineering – refactored! www.qwise.se
  • 23. Automation Platform Support QWise software engineering – refactored! www.qwise.se
  • 24. Coded UI Tests QWise software engineering – refactored! www.qwise.se
  • 25. LAB MANAGEMENT QWise software engineering – refactored! www.qwise.se
  • 26. Motivation QWise software engineering – refactored! www.qwise.se
  • 27. Lab Management Aims To... QWise software engineering – refactored! www.qwise.se
  • 28. Lab Management Infrastructure Team Foundation Server (TFS) Lab Management System Center Virtual Machine Manager (SCVMM) Test Case management Build management Work Item Tracking Source Control QWise software engineering – refactored! Hyper-V Hosts Library Shares Virtual Machine1 Library Share1 Virtual Machine2 Library Share2 Virtual Machinen Library Sharen www.qwise.se
  • 29. Environments • An environment is a set of machines with different roles • An environment can – Be deployed, saved, removed – Started, stopped – Snapsshot VM1 Lab Agent QWise software engineering – refactored! VM2 Lab Agent www.qwise.se
  • 30. Manual Tests in Lab • Testing from the outside – Easy for web applications – Limitations in data collection • Testing from the inside – Run application in lab via environment viewer QWise software engineering – refactored! www.qwise.se
  • 31. Automatic Tests in Lab • Testing in VM – Test case connected to test environment – Test component comes from selected build • Testing in build – Test case connected to build definition – Runs test list or test component QWise software engineering – refactored! www.qwise.se
  • 32. Lab Management Build Workflow QWise software engineering – refactored! www.qwise.se
  • 33. Build and Deploy QWise software engineering – refactored! www.qwise.se
  • 34. Summary • • • • • Structured test planning with MTM Integrated test execution Effective defect tracking with rich bugs Seamless integration with automated tests Powerful lab management QWise software engineering – refactored! www.qwise.se

Notas do Editor

  1. Annan bild + kort bio
  2. Källa: Brian Marick
  3. Agile utveckling ställer nya krav på testning. I och med att vi vill jobba iterativt och inkrementellt fungerar inte den traditionellt vattenfallsorienterade modellen och det är risk för flaskhalsar i testning. Automatisering är en möjliggörar här.