SlideShare a Scribd company logo
1 of 48
Download to read offline
Module 02
Test Specification
and Execution
Topics
During the Specification phase, the required tests and starting points are specified. The aim is to have as much as
possible prepared, in order to be able to run the test as quickly as possiblewhen the developers deliver the test object.
http://www.tmap.net/en/tmap/4-essentials/structured-test-process/acceptance-and-system/specification-phase
The Specification Phase
Tests in the top quadrants
validate business needs.
Tests in the bottom quadrants
validate the implementation.
Agile Testing Quadrants
Performance &
Load Tests
Security Tests
‘ility’ Tests
Tests in the right-hand
quadrants help the product.
Tests in the left-hand quadrants
help the team.
Agile Testing Quadrants
Performance &
Load Tests
Security Tests
‘ility’ Tests
To obtain insight into the quality of the test object through the execution of the agreed tests.
http://www.tmap.net/en/tmap/4-essentials/structured-test-process/acceptance-and-system/execution-phase
The Execution Phase
Test Types
Acceptance Tests
Business-facing
Critique Product
A test script that checks
if a feature behaves as
expected.
Defined during backlog
grooming and early in
the sprint.
Requirements and bugs link
directly to related test cases
Integrated Storyboarding with
PowerPoint keeps stakeholders and
all team members in sync
Measurable acceptance
criteria, visible to all team
members, aligns with tests
Result
User Story Test Status Report
Demo
Creating a Test Plan with
Logical Acceptance Tests
Unit Tests
Supporting
the team
Technology
facing
Isolate each part of the
program and show that
the individual parts are
correct.
Created in the sprint,
Executed continuously.
Unit testing is a method by which individual units of source code, sets of one or more computer program modules together
with associated control data, usage procedures, and operating procedures, are tested to determine if they are fit for use.
Intuitively, one can view a unit as the smallest testable part of an application.
Definition of Done
All unit tests are written and have been successfully executed.
Code Coverage
Code coverage records for each package are available and whatever the team has decided as the minimum benchmark
has been achieved.
Unit Tests
Use the testing framework
you’re familiar with to write
your unit tests
Quickly run all unit tests, or
target specific tests or
groups of tests
Quickly examine results of each
test during the previous test run
with the Test Explorer
Developer-focused
Testing
Red Green Refactor
Pluggable test
frameworks
Run tests after build
Unit Test Explorer
Shims can be used to fake almost
any method call, rendering your
legacy code testable
Create a “fake” reference to any .dll
referenced by your testing project
The Fakes Framework allows you
to shim SharePoint web parts,
improving testability
Explore and execute tests using
the same first-class Test Explorer
Manage the unit test
project directly alongside
your SharePoint projects
Use familiar SharePoint code
to create your unit tests
Group unit tests by project,
traits, duration, results and more
Code coverage analysis determines
the portion of your code covered by
unit tests, down to the method level
Results can be exported and
saved for future analysis
Code Coverage
Code Clone Analysis
Static Code Analysis
Code Reviews
Test Impact Analysis*
Developer-focused Code Quality Tools
Demo
Code Quality Tools
Functional Testing
Supporting
the team
Technology
facing
Validates the
functionality quality
characteristic, with the
functional design as the
test basis.
Specified and executed
during the sprint.
Specified and executed during the sprint
All functionality created during a sprint is tested during the same sprint.
Test coverage
Linked work items are used for test coverage.
Definition of Done
All priority 1 test cases are executed.
All high risk backlog items have a test coverage of 80%.
Test Case promotion to regression sets
Some test cases will be part of regression testing efforts.
Functional Tests
Test Steps
Shared Steps
Test Data Parameters
Specify Test Cases
Organize testing in multiple
configurations
Playback a prior recording to save
time with frequently-repeated
setup steps and prerequisites
Bind data to controls, to
support multiple iterations
and future automation
Pause, save, close, return, and
pick up where you left off
Test Runner
Action Recording
Execute Test Cases
IntelliTrace Logs
System logs & configuration
Detailed status and history
visible to all team members
Audio & Video recordings
Get an overview of the test run
with summary pie charts, or drill
into the details for each test.
Analyze code coverage for manual
tests to determine which specific
parts of your code were tested .
Associate manual test runs
with builds and environments.
Recommended Tests
Shows passed Tests with
changed source code
Test Impact Analysis
Exploratory Testing
Supporting
the product
Supports the
Implementation
Simultaneous test
design and execution.
Tests working software.
Create rich text comments
with screenshots while
exploring
Exploratory sessions can
be recorded to increase
reproducibility
Explore your application to
uncover new defects
The Test Runner docks on the left
side of the screen and automatically
records your steps as you explore
Time spent during
exploratory testing
Courtesy of Jon Bach
Test Setup
Bug Filing
Testing
The 3 Components of Testing
Comments and steps are
automatically added
The exploratory test session
is paused while you create a
bug report
File new bugs without ending the
exploratory test session
Attach the video recorded during
the exploratory test session for
maximum reproducibility
Quickly create an
automatically linked test
case for this bug
Add verification values to
indicate the expected result
Session is paused while creating
test cases
Test steps are added
automatically
Comment block reflects
the added bugs and tests
Continue exploratory testing
right from where you left off
Quick access to bugs and test
cases created during the session
Demo
Exploratory Testing
Performance and Load Testing
Supporting
the product
Supports the
Implementation
Performance Test
To determine or validate speed, scalability, and/or stability.
Load Test
To verify application behavior under normal andpeak
load conditions.
Web Performance Test
Load Test
Demo
Web Performance Test
Load Test
Test Automation
Test Automation
Performance &
Load Tests
Security Tests
‘ility’ Tests
Automated
and Manual
Manual
Automated
Tools
Automated
Visual Studio Support
Performance &
Load Tests
Security Tests
‘ility’ Tests
Convert the test case to
code for enhanced
flexibility
Generate your Coded UI test from
an existing recording, or record a
new test case on the fly
Test Automation with CodedUI Tests
CodedUI tests interact
directly with your app’s UI
Tests can be run and monitored
on the local machine, or further
automated on a virtual machine
Cross-browser testing support
allows automated testing on
multiple browsers
Coded UI tests run as part of your
unit testing suite, enabling
developers to detect defects early
Even if the look & feel changes, the
automated test still executes properly
Coded UI tests are part of
source control for
maximum visibility
Demo
End-to-end Test Workflow
with Coded UI Automation
03   test specification and execution

More Related Content

What's hot

It's Not a Bug, It's a Feature — How Misclassification Impacts Bug Prediction
It's Not a Bug, It's a Feature — How Misclassification Impacts Bug PredictionIt's Not a Bug, It's a Feature — How Misclassification Impacts Bug Prediction
It's Not a Bug, It's a Feature — How Misclassification Impacts Bug Prediction
sjust
 
The Impact of Test Ownership and Team Structure on the Reliability and Effect...
The Impact of Test Ownership and Team Structure on the Reliability and Effect...The Impact of Test Ownership and Team Structure on the Reliability and Effect...
The Impact of Test Ownership and Team Structure on the Reliability and Effect...
Kim Herzig
 
Integration in component based technology
Integration in component based technologyIntegration in component based technology
Integration in component based technology
Saransh Garg
 
Software Testing Tecniques
Software Testing TecniquesSoftware Testing Tecniques
Software Testing Tecniques
ersanbilik
 

What's hot (19)

Automated Regression Testing for Embedded Systems in Action
Automated Regression Testing for Embedded Systems in ActionAutomated Regression Testing for Embedded Systems in Action
Automated Regression Testing for Embedded Systems in Action
 
It's Not a Bug, It's a Feature — How Misclassification Impacts Bug Prediction
It's Not a Bug, It's a Feature — How Misclassification Impacts Bug PredictionIt's Not a Bug, It's a Feature — How Misclassification Impacts Bug Prediction
It's Not a Bug, It's a Feature — How Misclassification Impacts Bug Prediction
 
Unit and integration Testing
Unit and integration TestingUnit and integration Testing
Unit and integration Testing
 
The Impact of Test Ownership and Team Structure on the Reliability and Effect...
The Impact of Test Ownership and Team Structure on the Reliability and Effect...The Impact of Test Ownership and Team Structure on the Reliability and Effect...
The Impact of Test Ownership and Team Structure on the Reliability and Effect...
 
Issre2014 test defectprediction
Issre2014 test defectpredictionIssre2014 test defectprediction
Issre2014 test defectprediction
 
ABAP Code Retreat Frankfurt 2016: TDD - Test Driven Development
ABAP Code Retreat Frankfurt 2016: TDD - Test Driven DevelopmentABAP Code Retreat Frankfurt 2016: TDD - Test Driven Development
ABAP Code Retreat Frankfurt 2016: TDD - Test Driven Development
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
 
Unit testing
Unit testingUnit testing
Unit testing
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
 
Software Quality via Unit Testing
Software Quality via Unit TestingSoftware Quality via Unit Testing
Software Quality via Unit Testing
 
Unit testing
Unit testingUnit testing
Unit testing
 
Embedded Testing 2015
Embedded Testing 2015Embedded Testing 2015
Embedded Testing 2015
 
Unit Testing Concepts and Best Practices
Unit Testing Concepts and Best PracticesUnit Testing Concepts and Best Practices
Unit Testing Concepts and Best Practices
 
TDD in the ABAP world - sitNL 2013 edition
TDD in the ABAP world - sitNL 2013 editionTDD in the ABAP world - sitNL 2013 edition
TDD in the ABAP world - sitNL 2013 edition
 
Case Study: Automated Code Reviews In A Grown SAP Application Landscape At EW...
Case Study: Automated Code Reviews In A Grown SAP Application Landscape At EW...Case Study: Automated Code Reviews In A Grown SAP Application Landscape At EW...
Case Study: Automated Code Reviews In A Grown SAP Application Landscape At EW...
 
Unit testing
Unit testing Unit testing
Unit testing
 
Integration in component based technology
Integration in component based technologyIntegration in component based technology
Integration in component based technology
 
Software Testing Tecniques
Software Testing TecniquesSoftware Testing Tecniques
Software Testing Tecniques
 
White box testing
White box testing White box testing
White box testing
 

Similar to 03 test specification and execution

qawithmicrosofttestmanagerandlabmanagement
qawithmicrosofttestmanagerandlabmanagementqawithmicrosofttestmanagerandlabmanagement
qawithmicrosofttestmanagerandlabmanagement
sunil singh
 
Unit testing php-unit - phing - selenium_v2
Unit testing   php-unit - phing - selenium_v2Unit testing   php-unit - phing - selenium_v2
Unit testing php-unit - phing - selenium_v2
Tricode (part of Dept)
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
priya_trivedi
 
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
ShivareddyGangam
 
Glossary of Testing Terms and Concepts
Glossary of Testing Terms and ConceptsGlossary of Testing Terms and Concepts
Glossary of Testing Terms and Concepts
mqamarhayat
 

Similar to 03 test specification and execution (20)

qawithmicrosofttestmanagerandlabmanagement
qawithmicrosofttestmanagerandlabmanagementqawithmicrosofttestmanagerandlabmanagement
qawithmicrosofttestmanagerandlabmanagement
 
Testing
TestingTesting
Testing
 
Unit testing php-unit - phing - selenium_v2
Unit testing   php-unit - phing - selenium_v2Unit testing   php-unit - phing - selenium_v2
Unit testing php-unit - phing - selenium_v2
 
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
 
Qa case study
Qa case studyQa case study
Qa case study
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Incorporating Performance Testing in Agile Development Process
Incorporating Performance Testing in Agile Development ProcessIncorporating Performance Testing in Agile Development Process
Incorporating Performance Testing in Agile Development Process
 
Lightning Talks by Globant - Automation (This app runs by itself )
Lightning Talks by Globant -  Automation (This app runs by itself ) Lightning Talks by Globant -  Automation (This app runs by itself )
Lightning Talks by Globant - Automation (This app runs by itself )
 
Software_Testing_ppt.pptx
Software_Testing_ppt.pptxSoftware_Testing_ppt.pptx
Software_Testing_ppt.pptx
 
Software-Testing-ppt.pptx
Software-Testing-ppt.pptxSoftware-Testing-ppt.pptx
Software-Testing-ppt.pptx
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
testing.pptx
testing.pptxtesting.pptx
testing.pptx
 
Software Testing PPT | Software All Testing
Software Testing PPT | Software All TestingSoftware Testing PPT | Software All Testing
Software Testing PPT | Software All Testing
 
Testing
TestingTesting
Testing
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.
 
V Model in Software Testing
V Model in Software TestingV Model in Software Testing
V Model in Software Testing
 
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
 
www.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testingwww.tutorialsbook.com presents Manual testing
www.tutorialsbook.com presents Manual testing
 
Glossary of Testing Terms and Concepts
Glossary of Testing Terms and ConceptsGlossary of Testing Terms and Concepts
Glossary of Testing Terms and Concepts
 
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGWelingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
 

More from Clemens Reijnen

More from Clemens Reijnen (20)

Azure for software development teams
Azure for software development teamsAzure for software development teams
Azure for software development teams
 
06 operations and feedback
06   operations and feedback06   operations and feedback
06 operations and feedback
 
05 test infrastructure
05   test infrastructure05   test infrastructure
05 test infrastructure
 
04 test controlling and tracking
04   test controlling and tracking04   test controlling and tracking
04 test controlling and tracking
 
02 test planning
02   test planning02   test planning
02 test planning
 
01 the value of quality
01   the value of quality01   the value of quality
01 the value of quality
 
A Collaborative culture
A Collaborative cultureA Collaborative culture
A Collaborative culture
 
Test Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overviewTest Tooling in Visual Studio 2012 an overview
Test Tooling in Visual Studio 2012 an overview
 
ALM - Getting Testing done in a Sprint
ALM - Getting Testing done in a SprintALM - Getting Testing done in a Sprint
ALM - Getting Testing done in a Sprint
 
TFS11 on Azure advanced
TFS11 on Azure advancedTFS11 on Azure advanced
TFS11 on Azure advanced
 
TFS11 on Azure the basics
TFS11 on Azure the basicsTFS11 on Azure the basics
TFS11 on Azure the basics
 
Coded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the FieldCoded UI - Test automation Practices from the Field
Coded UI - Test automation Practices from the Field
 
MTLM Visual Studio 2010 ALM workshop - day1
MTLM Visual Studio 2010 ALM workshop  - day1MTLM Visual Studio 2010 ALM workshop  - day1
MTLM Visual Studio 2010 ALM workshop - day1
 
MTLM Visual Studio 2010 ALM - day2
MTLM Visual Studio 2010 ALM - day2MTLM Visual Studio 2010 ALM - day2
MTLM Visual Studio 2010 ALM - day2
 
MTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshopMTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshop
 
Scrum with VS2010
Scrum with VS2010  Scrum with VS2010
Scrum with VS2010
 
Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010Technical meeting automated testing with vs2010
Technical meeting automated testing with vs2010
 
Alm 4 Azure with screenshots
Alm 4 Azure with screenshotsAlm 4 Azure with screenshots
Alm 4 Azure with screenshots
 
Talk Through Sogeti ALM 4 Azure
Talk Through Sogeti ALM 4 AzureTalk Through Sogeti ALM 4 Azure
Talk Through Sogeti ALM 4 Azure
 
Alm 4 Azure
Alm 4 AzureAlm 4 Azure
Alm 4 Azure
 

Recently uploaded

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
 

Recently uploaded (20)

Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
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, ...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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)
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

03 test specification and execution

  • 3. During the Specification phase, the required tests and starting points are specified. The aim is to have as much as possible prepared, in order to be able to run the test as quickly as possiblewhen the developers deliver the test object. http://www.tmap.net/en/tmap/4-essentials/structured-test-process/acceptance-and-system/specification-phase The Specification Phase
  • 4. Tests in the top quadrants validate business needs. Tests in the bottom quadrants validate the implementation. Agile Testing Quadrants Performance & Load Tests Security Tests ‘ility’ Tests
  • 5. Tests in the right-hand quadrants help the product. Tests in the left-hand quadrants help the team. Agile Testing Quadrants Performance & Load Tests Security Tests ‘ility’ Tests
  • 6. To obtain insight into the quality of the test object through the execution of the agreed tests. http://www.tmap.net/en/tmap/4-essentials/structured-test-process/acceptance-and-system/execution-phase The Execution Phase
  • 8. Acceptance Tests Business-facing Critique Product A test script that checks if a feature behaves as expected. Defined during backlog grooming and early in the sprint.
  • 9. Requirements and bugs link directly to related test cases Integrated Storyboarding with PowerPoint keeps stakeholders and all team members in sync Measurable acceptance criteria, visible to all team members, aligns with tests
  • 10. Result User Story Test Status Report
  • 11. Demo Creating a Test Plan with Logical Acceptance Tests
  • 12. Unit Tests Supporting the team Technology facing Isolate each part of the program and show that the individual parts are correct. Created in the sprint, Executed continuously.
  • 13. Unit testing is a method by which individual units of source code, sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures, are tested to determine if they are fit for use. Intuitively, one can view a unit as the smallest testable part of an application. Definition of Done All unit tests are written and have been successfully executed. Code Coverage Code coverage records for each package are available and whatever the team has decided as the minimum benchmark has been achieved. Unit Tests
  • 14. Use the testing framework you’re familiar with to write your unit tests Quickly run all unit tests, or target specific tests or groups of tests Quickly examine results of each test during the previous test run with the Test Explorer
  • 15. Developer-focused Testing Red Green Refactor Pluggable test frameworks Run tests after build Unit Test Explorer
  • 16. Shims can be used to fake almost any method call, rendering your legacy code testable Create a “fake” reference to any .dll referenced by your testing project
  • 17. The Fakes Framework allows you to shim SharePoint web parts, improving testability Explore and execute tests using the same first-class Test Explorer Manage the unit test project directly alongside your SharePoint projects Use familiar SharePoint code to create your unit tests
  • 18. Group unit tests by project, traits, duration, results and more Code coverage analysis determines the portion of your code covered by unit tests, down to the method level Results can be exported and saved for future analysis
  • 19. Code Coverage Code Clone Analysis Static Code Analysis Code Reviews Test Impact Analysis* Developer-focused Code Quality Tools
  • 21. Functional Testing Supporting the team Technology facing Validates the functionality quality characteristic, with the functional design as the test basis. Specified and executed during the sprint.
  • 22. Specified and executed during the sprint All functionality created during a sprint is tested during the same sprint. Test coverage Linked work items are used for test coverage. Definition of Done All priority 1 test cases are executed. All high risk backlog items have a test coverage of 80%. Test Case promotion to regression sets Some test cases will be part of regression testing efforts. Functional Tests
  • 23. Test Steps Shared Steps Test Data Parameters Specify Test Cases
  • 24. Organize testing in multiple configurations Playback a prior recording to save time with frequently-repeated setup steps and prerequisites Bind data to controls, to support multiple iterations and future automation Pause, save, close, return, and pick up where you left off
  • 26. IntelliTrace Logs System logs & configuration Detailed status and history visible to all team members Audio & Video recordings
  • 27. Get an overview of the test run with summary pie charts, or drill into the details for each test. Analyze code coverage for manual tests to determine which specific parts of your code were tested . Associate manual test runs with builds and environments.
  • 28. Recommended Tests Shows passed Tests with changed source code Test Impact Analysis
  • 29. Exploratory Testing Supporting the product Supports the Implementation Simultaneous test design and execution. Tests working software.
  • 30. Create rich text comments with screenshots while exploring Exploratory sessions can be recorded to increase reproducibility Explore your application to uncover new defects The Test Runner docks on the left side of the screen and automatically records your steps as you explore
  • 31. Time spent during exploratory testing Courtesy of Jon Bach Test Setup Bug Filing Testing The 3 Components of Testing
  • 32. Comments and steps are automatically added The exploratory test session is paused while you create a bug report File new bugs without ending the exploratory test session Attach the video recorded during the exploratory test session for maximum reproducibility Quickly create an automatically linked test case for this bug
  • 33. Add verification values to indicate the expected result Session is paused while creating test cases Test steps are added automatically
  • 34. Comment block reflects the added bugs and tests Continue exploratory testing right from where you left off Quick access to bugs and test cases created during the session
  • 36. Performance and Load Testing Supporting the product Supports the Implementation Performance Test To determine or validate speed, scalability, and/or stability. Load Test To verify application behavior under normal andpeak load conditions.
  • 41. Test Automation Performance & Load Tests Security Tests ‘ility’ Tests Automated and Manual Manual Automated Tools Automated
  • 42. Visual Studio Support Performance & Load Tests Security Tests ‘ility’ Tests
  • 43. Convert the test case to code for enhanced flexibility Generate your Coded UI test from an existing recording, or record a new test case on the fly
  • 44. Test Automation with CodedUI Tests
  • 45. CodedUI tests interact directly with your app’s UI Tests can be run and monitored on the local machine, or further automated on a virtual machine Cross-browser testing support allows automated testing on multiple browsers
  • 46. Coded UI tests run as part of your unit testing suite, enabling developers to detect defects early Even if the look & feel changes, the automated test still executes properly Coded UI tests are part of source control for maximum visibility
  • 47. Demo End-to-end Test Workflow with Coded UI Automation