Test-Driven Development with BizTalk Server 2004 Ben Carey
What We Will Cover <ul><li>What is Test-Driven Development (TDD)? </li></ul><ul><li>Why should we use TDD? </li></ul><ul><...
Session Prerequisites <ul><li>General knowledge of BizTalk Server </li></ul><ul><li>General knowledge of integration conce...
Test-Driven Development <ul><li>Repeatable / automated tests </li></ul><ul><li>Proving the system for various scenarios </...
The Benefits of TDD <ul><li>Feedback </li></ul><ul><ul><li>Short cycles to knowing what works, what’s broken, and extended...
The Test-Driven Cycle <ul><li>What do I need to do? </li></ul><ul><li>How can I test it? </li></ul><ul><li>Write a test (o...
Test-Driven Integration <ul><li>Start with acceptance / integration level tests. </li></ul><ul><li>Integration tests usual...
Testing Integration Scenarios
Testing Within the Boundaries
Layered Testing
A Test-Driven Episode - Scenario <ul><li>Our Scenario… </li></ul><ul><li>We are developers at FooCorp.  FooCorp has been a...
A Test-Driven Episode – Story #1 Story: Consume MesoWest data
Demonstration Test-Driven BizTalk
Session Summary <ul><li>Discussion of what TDD really is </li></ul><ul><li>Some key benefits of using TDD </li></ul><ul><l...
For More Information <ul><li>Agile EAI </li></ul><ul><ul><li>http://www.eaipatterns.com/docs/agileEAI.html </li></ul></ul>...
Additional Resources <ul><li>Framework for Rapid Test Case Development </li></ul><ul><ul><li>http://www.gotdotnet.com/work...
Questions and Answers <ul><li>Submit text questions using the  “Ask a Question” button.  </li></ul><ul><li>Don’t forget to...
Where Can I Get MSDN? <ul><li>Fill out the survey at the end of the webcast and ask a Microsoft representative to contact ...
Listen, learn and rub elbows with the brightest developers in your area. Our free MSDN Event series is your perfect opport...
IAB Poll <ul><li>How would you rate the streaming audio quality from today’s presentation?  </li></ul><ul><li>Excellent </...
 
Upcoming SlideShare
Loading in …5
×

TDD with BizTalk

2,387 views

Published on

This is a presentation that I gave on doing TDD with BizTalk. It was part of a series of pre-TechEd presentations.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,387
On SlideShare
0
From Embeds
0
Number of Embeds
28
Actions
Shares
0
Downloads
65
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • MGB 2003 © 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  • TDD with BizTalk

    1. 1. Test-Driven Development with BizTalk Server 2004 Ben Carey
    2. 2. What We Will Cover <ul><li>What is Test-Driven Development (TDD)? </li></ul><ul><li>Why should we use TDD? </li></ul><ul><li>The TDD cycle </li></ul><ul><li>TDD for integration projects </li></ul><ul><li>A TDD episode with Microsoft ® BizTalk ® Server </li></ul>
    3. 3. Session Prerequisites <ul><li>General knowledge of BizTalk Server </li></ul><ul><li>General knowledge of integration concepts </li></ul><ul><li>A desire to know if your code works </li></ul>Level 200
    4. 4. Test-Driven Development <ul><li>Repeatable / automated tests </li></ul><ul><li>Proving the system for various scenarios </li></ul><ul><li>Feedback </li></ul><ul><li>Incremental design </li></ul><ul><li>Executable documentation </li></ul>
    5. 5. The Benefits of TDD <ul><li>Feedback </li></ul><ul><ul><li>Short cycles to knowing what works, what’s broken, and extended effects of modifications </li></ul></ul><ul><li>Flow </li></ul><ul><ul><li>Red, Green, Refactor </li></ul></ul><ul><ul><li>It feels good. </li></ul></ul><ul><li>Courage </li></ul><ul><ul><li>Have confidence in your work and your purpose. </li></ul></ul><ul><li>Documentation </li></ul><ul><ul><li>It’s executable. </li></ul></ul><ul><li>Design </li></ul><ul><ul><li>Organic architecture </li></ul></ul><ul><ul><li>Simplicity </li></ul></ul>
    6. 6. The Test-Driven Cycle <ul><li>What do I need to do? </li></ul><ul><li>How can I test it? </li></ul><ul><li>Write a test (or a few). </li></ul><ul><li>Watch it fail. </li></ul><ul><li>Write some code. </li></ul><ul><li>Watch it pass. </li></ul><ul><li>Refactor if necessary. </li></ul><ul><li>Repeat </li></ul>
    7. 7. Test-Driven Integration <ul><li>Start with acceptance / integration level tests. </li></ul><ul><li>Integration tests usually take the bulk of the time (for both development and execution). </li></ul><ul><li>Don’t worry so much about systems out of your control. </li></ul><ul><li>Test at a finer-grained level if it makes sense (layered testing). </li></ul>
    8. 8. Testing Integration Scenarios
    9. 9. Testing Within the Boundaries
    10. 10. Layered Testing
    11. 11. A Test-Driven Episode - Scenario <ul><li>Our Scenario… </li></ul><ul><li>We are developers at FooCorp. FooCorp has been asked to develop a system that will aggregate weather data and find hazardous mountain conditions. </li></ul><ul><li>We need to write a system that will pull data from various sources and input them into our system so that we can do trend analysis and make predictions. </li></ul>
    12. 12. A Test-Driven Episode – Story #1 Story: Consume MesoWest data
    13. 13. Demonstration Test-Driven BizTalk
    14. 14. Session Summary <ul><li>Discussion of what TDD really is </li></ul><ul><li>Some key benefits of using TDD </li></ul><ul><li>The test-driven cycle </li></ul><ul><li>Using TDD for integration projects </li></ul><ul><li>Demonstration of TDD with BizTalk </li></ul>
    15. 15. For More Information <ul><li>Agile EAI </li></ul><ul><ul><li>http://www.eaipatterns.com/docs/agileEAI.html </li></ul></ul><ul><li>Test-Driven Development in Enterprise Integration Projects </li></ul><ul><ul><li>http://www.hohpe.com/Gregor/Work/docs/ TestDrivenEAI.pdf </li></ul></ul><ul><li>www.testdriven.com </li></ul>
    16. 16. Additional Resources <ul><li>Framework for Rapid Test Case Development </li></ul><ul><ul><li>http://www.gotdotnet.com/workspaces/ workspace.aspx?id=8353c433-5b5c-464d-9605-bd4220686850 </li></ul></ul><ul><li>NUnit </li></ul><ul><ul><li>http://www.nunit.org/ </li></ul></ul>
    17. 17. Questions and Answers <ul><li>Submit text questions using the “Ask a Question” button. </li></ul><ul><li>Don’t forget to fill out the survey. </li></ul><ul><li>For upcoming and previously live webcasts: www.microsoft.com/webcasts </li></ul><ul><li>Got webcast content ideas? Contact us at: http://go.microsoft.com/fwlink/?LinkId=41781 </li></ul><ul><li>Today's webcast was presented using Microsoft Office Live Meeting. Get a free 14 day trial http://www.microsoft.com/presentlive   </li></ul>
    18. 18. Where Can I Get MSDN? <ul><li>Fill out the survey at the end of the webcast and ask a Microsoft representative to contact you. </li></ul><ul><li>Become an MSDN CD Subscriber at msdn.microsoft.com/subscriptions </li></ul>
    19. 19. Listen, learn and rub elbows with the brightest developers in your area. Our free MSDN Event series is your perfect opportunity to brush up on the latest tools and advanced technologies you’ll need to develop innovative, new applications. Join a MSDN Developer Community Champion for a live presentation and a Q & A session that will take your skills to the next level. These technical specialists are real coders with real experiences, not just traveling salespeople with PowerPoint®. If they cannot answer your questions, they can find someone who can. Register at http://msdnevents.com or call 1-877.673.8368 Attend an MSDN Event in your local area and receive the MSDN Event Resource DVD <ul><li>Winter DVD* includes: </li></ul><ul><li>Session Materials, including Code Samples, Slides and Video Recordings </li></ul><ul><li>SQL Server 2005™ Beta 2 </li></ul><ul><li>Visual Studio® 2005 Express Beta Products (C#, Visual Web Developer, Visual Basic® .NET) </li></ul><ul><li>Visual Studio 2005 Beta 1 Refresh with Visual Studio 2005 Team System </li></ul><ul><li>Virtual PC 2004 45-day Trial Edition </li></ul><ul><li>Patterns & Practices Library </li></ul><ul><li>35% Off Select Microsoft Press® Titles </li></ul>
    20. 20. IAB Poll <ul><li>How would you rate the streaming audio quality from today’s presentation? </li></ul><ul><li>Excellent </li></ul><ul><li>Good </li></ul><ul><li>Fair </li></ul><ul><li>Poor </li></ul><ul><li>Unacceptable </li></ul><ul><li>Needed to listen to the audio via telephony </li></ul>Live Meeting Poll Changes directly made to this slide will not be displayed in Live Meeting. Edit this slide by selecting Properties in the Live Meeting Presentation menu.

    ×