created by the community for the community testing
TRANSCRIPT
Created by the Communityfor the Community
A Pragmatic Approach to Testing BizTalk Solutions
Michael StephensonConnected Systems Consulting LtdMVP BizTalk
BizTalk Light and Easy Webcast Series
Created by the Communityfor the Community
Session Agenda
Setting the scene
Examples of testing
Summary
Created by the Communityfor the Community
Setting the scene
Why is testing important?But I’m a developer not a testerWhat types of testing are we talking aboutWhat are some of the common poor practicesWhat is the aim?
Created by the Communityfor the Community
Why is testing important?
The Cost of Defects
Project life cycle
Cost
Poor testing == Poor qualityPoor testing == Missed DeadlinesPoor testing == increased costsPoor testing == increased riskAll of the above == dissatisfied customers
A 2002 survey estimated that software bugs cost the US economy $59+ billion
(Source: wikipedia)
Created by the Communityfor the Community
Project BProject ADevelopers
Development
I'm not a tester?
Testers
TestingDevelopers
Development
Testers
Testing
Project A Project B
Infrastructure/Configura-tionTest ErrorsCoding ErrorsDesign FlawsIncorrect Requirements
Created by the Communityfor the Community
What types of testing are we talking about?
Testing
Unit Testing
White Box
Grey box
Black Box
Acceptance Testing
Regression Testing
Non-Functional TestingPerformance
Testing
Security Testing
Usibility Testing
Automated Testing
Manual Testing
Integration Testing
System Testing
Test Driven Development
Created by the Communityfor the Community
Common bad practices
No tests at all!No automated testsTests regularly failNo test coverage informationNo stubs and dependancy on external systemsOver use of logging [link]
Created by the Communityfor the Community
What’s new in BizTalk 2009
Testing API for SchemaTesting API for MapsTesting API for Pipelines
Created by the Communityfor the Community
Testing a schema
Optionally enable testing supportTestableSchemaBaseDemoWhats good and bad
+ Easy to use API- Cant see the details of an error
Created by the Communityfor the Community
Testing a pipeline
Optionally enable at project levelTestable(Send/receive)PipelineBaseDemoWhat’s good and bad?
+ Simple to use- Bit of a limited API
Created by the Communityfor the Community
Intro to BizUnit Testing
What is BizUnit (http://www.codeplex.com/bizunit)
How can BizUnit help me?Demo
Created by the Communityfor the Community
What we didn’t coverTesting of Guidance
Custom Adapters See article
BAM/SSO You would normally test these within your BizUnit testing
BRE Policy can be accessed from .net or executed within BizUnit testing
Orchestrations These are normally executed within your BizUnit testing. See the following article for more thoughts on this. Also keep an eye on the BizMock codeplex project
Pipeline Components Use Pipeline Component Test Library. See article for more info
Custom .net Components See article for thoughts on this
Created by the Communityfor the Community
Resources
Resource Authour
Testing Guidance Series Michael Stephenson
BizUnit Kevin Smith
BizUnit Designer
BizMock
Pipeline Component Test Library Tomas Restrepo
Performance Testing Paolo Salvatori (posted by Swedish BizTalk User Group)
Created by the Communityfor the Community
Summary
Discussed why we should testShows some techniques for testing BizTalkMore resourcesDiscussion Point: Can we do TDD with BizTalk?Final Thougnt: Think about how you build a house
© 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.
BizTalk Light and Easy Webcast Series
Created by the Community for the CommunityMeet the team….