Ognjen Bajić Ana Roje Ivančić Ekobit Efficient Application Testing.

Slides:



Advertisements
Similar presentations
What’s new in Visual Studio 2012 and Team Foundation Server 2012
Advertisements

Test Automation: Coded UI Test
Neelesh Kamkolkar Sr. Product Manager/Planner | Microsoft
Software Testing with Visual Studio 2013 & Team Foundation Server 2013 Benjamin Day.
Eralp Erat Senior Software Developer MCP,MCAD.NET,MCSD.NET.
Test Automation An Approach to Automated Software Regression Testing Presented by Adnet, Inc Feb 2015.
Microsoft Confidential2 AdministrationTestingProject Mgmt.
Visual Studio Online. What it Provides Visual Studio Online, based on the capabilities of Team Foundation Server with additional cloud services, is the.
Build-Deploy-Test with Visual Studio Lab Management 2010 Pieter Gheysens Visual Studio ALM MVP – Sparkles User Group Lead VISUG (
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Mike Azocar Sr. Developer Technical Specialist Microsoft Corporation
Agile Testing with Testing Anywhere The road to automation need not be long.
Insightful Solutions :: Innovative Technologies Thanks to our Sponsors.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
GSJGD. Agenda Review of what we delivered in Visual Studio enhancements for Visual Studio 11 Paradigm Shift to Exploratory Testing Enhancements.
QWise software engineering – refactored! Testing, testing A first-look at the new testing capabilities in Visual Studio 2010 Mathias Olausson.
Application Lifecycle Management and the cloud
Testing Tools using Visual Studio Randy Pagels Sr. Developer Technology Specialist Microsoft Corporation.
Odin Technology Ltd. Automated Testing that Delivers.
Planning and Tracking Projects with VSTS 2010 By Ahmed Nasr 1.
Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.
Ahmed Salijee Developer Advisor DTL201.
Developer TECH REFRESH 15 Junho 2015 #pttechrefres h Understand your end-users and your app with Application Insights.
With a hint of HP Quality Center Agile development and functional testing: friend or foe? Tom Vercauteren, June 26th, 2009.
Team Foundation Server 2012 Maximiliano Déboli Director de Desarrollo Microsoft Azure MVP
Testing Azure Applications with Visual Studio 2010 Abhishek Agrawal Senior Program Manager Visual Studio Microsoft Corporation
28. Januar, Zürich-Oerlikon. Working with Virtual Test Environments Marc Müller Principal Consultant 4tecture GmbH.
Introducing Visual Studio 2010: What It Is and Why You Should Care
Neil Kidd Developer Tools Technical Specialist Microsoft UK.
Continuous Delivery and Team Foundation Server 2013 Ognjen Bajić Ana Roje Ivančić Ekobit.
Automation Testing Trainer: Eran Ruso. Training Agenda Automation Testing Introduction Microsoft Automation Testing Tool Box Coded UI Test and Unit Test.
Toni Petrina Microsoft MVP for C# Ekobit d.o.o. Controlling and extending development environment.
Tools and technology usage in PFMS application lifecycle management process LEPL Financial-Analytical Service, Ministry of Finance October, 2015 Dimitri.
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
Appium Studio Appium testing made easy at any scale.
Stress Free Deployments with Octopus Deploy
Testing with Selenium IDE
Was ist neu in Visual Studio 2012 Team Foundation Server 2012?
Unit testing your metro style apps built using XAML
Introduction to Visual Basic 2008 Programming
6/13/2018 1:23 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Manual testing of Windows Metro style apps built using HTML
Drupal VM and Docker4Drupal For Drupal Development Platform
Dumps4download 2018 Microsoft Dumps | PDF - Free Try
Galen - Automated testing of look and feel
Unit Testing & Test-Driven Development for Mere Mortals
Application Lifecycle Management – Best Practices for SharePoint and Office App development November 2015.
Drupal VM and Docker4Drupal as Consistent Drupal Development Platform
Team Foundation Server – Build-Deploy-Test Workflow
Scrum Experience Group Team Foundation Server (TFS)
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
React Revived Web Driver IO for Testers
Advantages OF BDD Testing
Unit Testing & Test-Driven Development for Mere Mortals
Dev Test on Windows Azure Solution in a Box
Visual Studio 2005 “Personalized productivity”
Microsoft Test and Lab Manager : Exécution de cas de tests
Real Testing Scenario Strategy: The Role of Exploratory Testing
Unit Testing & Test-Driven Development for Mere Mortals
Technical Capabilities
Real World Scrum with TFS & VSTS / Azure DevOps
Open Source Tool Based Automation solution with Continuous Integration and end to end BDD Implementation Arun Krishnan - Automation Manager Maria Afzal-
HCL’s Viewpoint – DevOps on MS Cloud
Vinod Malhotra Group Program Manager Microsoft Corporation
Java & Testing.
Office 365 Development July 2014.
Mark Quirk Head of Technology Developer & Platform Group
Tech·Ed North America /17/2019 4:14 PM
Jamie Cool Program Manager Microsoft
Open Source Tool Based Automation solution with Continuous Integration and end to end BDD Implementation Arun Krishnan - Automation Manager Maria Afzal-
Presentation transcript:

Ognjen Bajić Ana Roje Ivančić Ekobit Efficient Application Testing

Turn off your mobile. Thank you.

Agenda Testing in an Agile World Unit Testing Exploratory Testing Automated UI Testing Web Based Test Management Lab Management

Testing in an Agile World

5 Quality in an Agile World... Quality early and often Quality from the very beginning Quality built in... Built in all procedures, tools and process phases Develop quality code, measure and keep quality high Automated tools, processes and runtime infrastructure Out of the box Efficient tools for the manual parts of the process Automatically record diagnostic information for manual tests

6 Testing in an Agile World... What does Scrum say?

7

8 Testing in an Agile World... Testing is not just for testers Everyone is responsible for the Quality Use Done lists to help control Quality Turn acceptance criteria into acceptance tests Turn one sprint’s tests into next sprint’s regression tests Testing and Quality management support Continuous Deloyment

9 UAT (Black Box to White Box) Manual testing Organized Manual Testing Automated Testing Code Tests 70-80% Exploratory Testing Test Cases and Test Steps Coded UI Tests Selenium Tests Unit Tests and Integration Tests 10-20% dreaming5 - 10%

Unit Testing

11 Unit Testing in Visual Studio 2013 Test View Window Multiple Test Runners/Engines Testing in Isolation – Fakes Framework Testing SharePoint Applications

12 Developer Focused Unit Test Experience

13 Architecture Visual Studio Unit Test Explorer Command Line Runner TeamBuild Unit Test Activity Visual Studio Unit Test Platform MS-Test Managed MS-Test Native

Isolating code for better testing The VS Fakes framework lets you test almost ANYTHING in isolation, even when it has external dependencies Fakes come in two flavors: Stubs – concrete implementations of interfaces or abstract classes that you can pass in to your system-under-test to isolate it from real implementations Shims – generated classes that enable you to intercept and replace calls to existing classes in runtime, even those from the.NET BCL! We also have: Emulators – systems of stubs and shims replicating complex behavior patterns One example: SharePoint emulator

Recommendations Stubs A natural extension of well known testing strategies You should feel good about using them in your tests. Shims Are amazingly powerful and sometimes the only way to test certain things… but they are evil! For legacy code or code that you don’t own Use Shims to get your code under test But don’t stop there… Strive to refactor the code so you don’t need the Shims anymore Then remove them

Manual/Exploratory Testing

19 UAT (Black Box to White Box) % Exploratory Testing Test Cases and Test Steps Coded UI Tests Selenium Tests Unit Tests and Integration Tests Manual testing Organized Manual Testing Automated Testing Code Tests

20 Why do Exploratory Testing? Testers are good at finding bugs Testers are notoriously bad at describing bugs At least from the developer’s perspective “Not repro!” “It works on my machine!”

21 Why do Exploratory Testing? Let Testers focus on finding Bugs Let Tools document the Bugs Rich diagnostic information automatically recorded Video, Screenshots, Action steps, Intellitrace, Test impact and more More efficient testers and better bug descriptions Devs and testers together solve more bugs in less time

23 How to do Exploratory Testing Test one PBI at a time Start from Acceptance Criteria Find a bug Capture the repro steps Create a test case (so this one doesn’t happen again)

24 Summary of Exploratory testing Verdict? Detailed bug reports (with screenshots) created easily Test cases with precise steps Tester can focus on testing! The tool records diagnostic info

25 From Exploratory to Organized Manual Testing 1 st step: create test cases (next step is to automate them) Organize Test Cases in Test Suites and Plans Team Project Test Plan(s) Test Suite(s) Test Case(s)

26 Test Plan Content - UI Test Suites Test Cases Test Plan

Automated UI Testing

28 Exploratory Testing  Automated Tests! Generate a Coded UI Test (CUIT) from a recording Use a recording from an existing test case or an ad-hoc recording Add an assertion to your test Enables functional testing/validation of the user interface Turns a manual test into an automated regression test Note: Automation saves time for the testers Note: But increases the load on developers

31 Summary of Coded UI Tests Verdict? Get devs and testers working together Automate to save the testers’ time Your test can: Be part of your build Run in lab environments Verbose Hard to maintain – one UIMap for all UI objects is root of all evil

32 UI Testing You can get Coded UI Tests right One UIMap file per object Use page object pattern (hand code a class per UI page) Marcel de Vries: Code First: codeduicodefirst.codeplex.comcodeduicodefirst.codeplex.com

Web Based Test Management

34 Testing in Web Access “Web Test Case Management” or “Testing Hub” New in TFS Manage test cases in Web Access Substantially better in 2013 Create/Modify Test Plans through Web UI Open MTM from web Open Microsoft Test Runner from web (deep link) Paste images into work items in the web Cool – No need to install MTM! No impact on the test environment

36 Any Browser

37 Summary of testing in Web Access Test case management from the web Run tests from the browser Any browser or operating system No need to install MTM No recording (unless you “Run using client”) 

Lab Management

39 Lab Management Deployment and setup of a new build – complex and expensive TFS includes virtualized Test Lab Test environment – one or more VMs managed together Integration of Build and Lab Automated workflow: BUILD - DEPLOY- TEST Prepares the application for manual testing (saves a snapshot of the environment with the app. installed) Testing in all supported configurations easy

41 Summary of Lab Management Environments can be set up for any machine you have or using a pool of VM-s Tests can be run on these environments Automated Build – Deploy-Test workflow Consider using Azure VMs

42 Recap Testing in an Agile World Unit Testing Exploratory Testing Automated UI Testing Web-Based Test Management Lab Management

Q&A.

44