Unit Testing Silverlight & Windows Phone Applications Jeff Wilcox Senior Software Development Engineer Silverlight

Slides:



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

Building PHP Applications using the Windows Azure Platform Craig Kitterman Senior Technical Evangelist Interoperability Microsoft Corporation Sumit Chawla.
Technical Workshops | Esri International User Conference San Diego, California Building Applications with ArcGIS Runtime SDK for Windows Phone Rex Hansen.
Agenda Introduction New Features in Map Suite Web Edition 3.0 Demonstration Where to Get Help and Learn More Q&A 2.
 About Me: Eric Hexter  Director of Austin.Net User Group  AspInsiders  Organized the 2007 Austin Code Camp  Build websites and web applications since.
 Visual Studio has great support for building ASP.NET web applications  Real web application development involves more than just copying the files created.
CZ Biz. Auto. System & Test-Driven Development Teoman Soygul (Sept 24, 2012).
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
DEV337 demo From The Book of WPF, available from my site 10rem.net.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
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
Daniel Levy Solutions Consultant, Telerik Testing Tools Division.
Introducing Visual Studio ® LightSwitch™ Andrew Coates Microsoft DEV201 #auteched #dev201.
Sofia, Bulgaria | 9-10 October Large-Scale Client Script Development in ASP.NET "Atlas“ Tools, Tips, And Techniques Hristo Deshev telerik Hristo Deshev.
© Blackboard, Inc. All rights reserved. Back to the Feature: An Agile, User-centric Software Development Lifecycle Cindy Barry Senior Product Manager Martha.
Esri International User Conference | San Diego, CA Technical Workshops | Windows Phone – Developing Applications Kylie Donia and Eager Ip July 13, 2011.
IFactr Enterprise Application Modernization. Visual Studio Industry Partner iFactr NEXT STEPS Contact us at: WebsiteiFactr.com BlogiFactr.com/blog.
Top 10 Deployment Secrets They Don’t Want You To Know Don Dunne, Andy Finkbeiner EclipseCon :10 - Room 203/204
© 2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Adobe Flash Catalyst for Agile Interaction Design Harish Sivaramakrishnan |
Expression Web 3... now with TFS!. What is Expression Web 3? Professional web design and development tool Create standards-based Web sites faster & easier.
DEV12 Excel Services, Server APIs and Managed UDFs Aaron Saikovski Senior Consultant - Readify Australia Blog:
FIRST FLOOR SOFTWARE Experts in XAML. Visual Studio Industry Partner FIRST FLOOR SOFTWARE NEXT STEPS Contact us at: First.
DEV 301 Visual Studio Team System Tom Arnold Program Manager Microsoft Corporation “Enabling Better Software through Better Testing”
Lesson 3 Getting started and Installing Web Matrix Getting started and Installing Web Matrix.
Extend the Operations Dashboard with Custom Widgets (and more)
Visual Studio Online Visual Studio.NET Work BuildTest Deploy Insights Code Visual Studio Online.
Taking Control of Visual Studio through Extensions and Extensibility Anthony Cangialosi Senior Program Manager Lead Microsoft Corporation DEV311.
Shell Interface Shell Interface Functions Data. Graphical Interface Graphical Interface Command-line Interface Command-line Interface Experiments Private.
What’s New in Windows Forms 2.0 Stephen Turner Software Design Engineer
Visual Studio 2005 Team System: Enabling Better Software Through Testing Tejasvi Kumar Technology Specialist - VSTS Microsoft Corporation
Building Windows Phone applications with Silverlight, part 2 Peter Torr Program Manager, Microsoft
Building Windows Phone Applications with Silverlight (Part 1) Mike Harsh Program Manager, Microsoft.
Virtual techdays INDIA │ November 2010 Building Visual Studio LightSwitch Application Kunal Chowdhury │ Software Engineer, Silverlight MVP.
Are you familiar with Microsoft word 2010 ?? Well this time it is all about the world of MSW 2010.
Ken Casada Developer Evangelist Microsoft Switzerland Découvrez le Visual Studio.
Ken Casada Developer Evangelist Microsoft Switzerland Visual Studio LightSwitch.
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Welcome!. State of the company Community Today’s new currency DataFlex, VRW & DAI An invitation The year ahead.
Automated Testing for Dynamics CRM
Bob German Principal Architect Developing SharePoint Applications with MVC and Entity Framework.
Ken Casada Developer Evangelist Microsoft Switzerland
Benjamin Unit Testing & Test-Driven Development for Mere Mortals.
THE SOURCE OF 4 TH & MAYOR: CODE, HACKS, TRICKS Jeff Wilcox Senior Software Development Engineer Microsoft SESSION CODE: WPH308 (c) 2011 Microsoft. All.
Building Windows Phone 7 Games and Applications Yes, yes! “Games and Applications” and not “Applications and Games” Content is under NDA – please do no.
Keynote Enabling Mobile DevOps
Windows Azure Jeffrey Ferman Program Manager 3-006
.NET Framework 2.0 .NET Framework 3.0 .NET Framework 3.5
Unit testing your metro style apps built using XAML
Software Testing Software testing.
Developing Drivers in Visual Studio
Automate all things! Microsoft Azure continuous deployment
MonoGame and Windows 8.
Stephen Faig to provide the introduction Mike Ruane, President / CEO
Windows 8 & Phone 8 App Development suresh M 11/14/2018
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Matt Masson Software Development Engineer Microsoft Corporation
CIS16 Application Development – Programming with Visual Basic
Introduction to SharePoint Framework
MIX 09 12/8/2018 4:33 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech Ed North America /1/ :36 AM Required Slide
Selenium Web Test Tool Training Using Ruby Language
From Development to Production: Optimizing for Continuous Delivery
Delivering great hardware solutions for Windows
From Development to Production: Optimizing for Continuous Delivery
Visual Studio Tools for Unity 2.0 Preview
Introduction to ASP.NET Parts 1 & 2
Jamie Cool Program Manager Microsoft
Presentation transcript:

Unit Testing Silverlight & Windows Phone Applications Jeff Wilcox Senior Software Development Engineer Silverlight

Outline Getting Started – What’s new in Silverlight testing – Unit testing in 5 minutes Silverlight Testing Walkthrough Testing Windows Phone Apps Wild Stuff Questions

Silverlight Unit Testing Old Test Framework

New Test Features Modern user interface – Silverlight-based – Simple, focused user experience – Out of Browser support Results management – Copy results to the clipboard – Elevated apps can

Silverlight Unit Testing New for 2010

New Test Features Better performance Automation improvements – Command-line executable – Windows XP support – Out-of-browser launcher

What is Unit Testing? Goal is to exercise business objects, states, validators. Keep the suits happy. Not so much… -Integration testing -User interface automating -Rendering verification

Unit Tests are Important Tests are important assets Maintain a “suite of pain” for your code Invest in your product for the long term Consider test-driven development

Unit Test Metadata Attributes [TestClass] [TestMethod] [ExpectedException(…)] [Priority(0)] Assertions Assert.IsTrue Assert.IsNotNull Assert.IsInstanceOfType StringAssert.Contains

SILVERLIGHT UNIT TESTING DEMO

Windows Phone Testing Where to start?

Windows Phone Testing Same exact Silverlight unit test framework

Windows Phone Testing

Windows Phone Unit Testing Silverlight Unit Test Framework Same Visual Studio unit test metadata – Run existing Silverlight unit tests – Run.NET unit tests Explore results – on the phone or in the emulator – in debug output

TESTING WINDOWS PHONE APPS DEMO

Windows Phone APIs Accelerometer GPS Licensing Phone Tasks Vibration

How to test phone APIs Crawl – Manual & exploratory testing Walk – Inversion of Control (IoC) with mocking Run – Only time will tell

TESTING WINDOWS PHONE APIS DEMO

Wild Stuff Automating tests during daily builds Verifying storyboards, states, visual properties Asynchronous testing Testing WCF RIA Services and Silverlight apps as one large system Network, authentication, authorization User interface automation

Wednesday Session Improving Software Quality for the Modern Web Learn about many testing methodologies for agile, modern web developers Euan Garden Wed 3:00 PM in Breakers J

Call to Action Get the bits today In the next Silverlight Toolkit release Ships with Silverlight 4

Questions? Jeff Wilcox – – Talk resources – Blog Please fill out an evaluation form!