170 likes | 331 Views
Light and Easy. Testing. BizTalk Light and Easy Webcast Series. A Pragmatic Approach to Testing BizTalk Solutions. Michael Stephenson Connected Systems Consulting Ltd MVP BizTalk. Session Agenda. Setting the scene. Examples of testing. Summary. Setting the scene.
E N D
Light and Easy Testing
BizTalk Light and Easy Webcast Series A Pragmatic Approach to Testing BizTalk Solutions Michael Stephenson Connected Systems Consulting Ltd MVP BizTalk
Session Agenda Setting the scene Examples of testing Summary
Setting the scene • Why is testing important? • But I’m a developer not a tester • What types of testing are we talking about • What are some of the common poor practices • What is the aim?
Why is testing important? • Poor testing == Poor quality • Poor testing == Missed Deadlines • Poor testing == increased costs • Poor testing == increased risk • All of the above == dissatisfied customers A 2002 survey estimated that software bugs cost the US economy $59+ billion (Source: wikipedia)
I'm not a tester? Project A Project B Developers Testers Developers Testers Development Testing Development Testing
Common bad practices • No tests at all! • No automated tests • Tests regularly fail • No test coverage information • No stubs and dependancy on external systems • Over use of logging [link]
What’s new in BizTalk 2009 • Testing API for Schema • Testing API for Maps • Testing API for Pipelines
Testing a schema • Optionally enable testing support • TestableSchemaBase • Demo • Whats good and bad • + Easy to use API • - Cant see the details of an error
Testing a map • Optionally Enable • TestableMapBase • Demo
Testing a pipeline • Optionally enable at project level • Testable(Send/receive)PipelineBase • Demo • What’s good and bad? • + Simple to use • - Bit of a limited API
Intro to BizUnit Testing • What is BizUnit(http://www.codeplex.com/bizunit) • How can BizUnit help me? • Demo
Summary • Discussed why we should test • Shows some techniques for testing BizTalk • More resources • Discussion Point: Can we do TDD with BizTalk? • Final Thougnt: Think about how you build a house
BizTalk Light and Easy Webcast Series Created by the Community for the CommunityMeet the team…. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.