Product Reviews

Free Tool: TDD for WCF Testing with wcfstorm-lite

Think of wcfstorm-lite as the Visual Studio WCF Test Client on steroids.

I'm a big fan of service-oriented architectures, and building services (facilitating designing these architectures for my clients is a big part of my business; I even wrote a course on the topic for Learning Tree International). And I'm also a big fan of test-driven-development (TDD). So if you put those two together and want something free, you end up with wcfstorm-lite (wcfstorm if you want to pay for the full version).

Think of wcfstorm-lite as the Visual Studio WCF Test Client on steroids, plus the ability to save an executed request/response as a test case, plus some of the functionality that Fiddler gives you around watching the interaction between a client and a service (and viewing messages in a variety of ways).

It's the ability to save test cases and re-execute them (with automatic result checking) that's important, though. With wcfstorm-lite, as you make changes to your WCF service, you can load your test project and run all of your saved test cases to make sure your changes haven't broken any previously-written code. You can limit yourself to running all the tests for a particular method on your service, or running all the tests for all services.

The user interface to wcfstorm-lite is probably its biggest drawback. I would expect that if I select a menu choice called “Run All” to execute my tests that I'd, well, run all of my tests. Instead, in wcfstorm-lite, that choice brings up a test runner dialog where you can run all of your tests -- but only after clicking another button. After running your tests, if any test failed, you need to click a link on each failed test to see what went wrong -- it would be handier if some clue about the error was displayed in the test runner.

But other than those UI annoyances, wcfstorm-lite lets you apply TDD to your WCF-enabled SOA, which is a very good thing.

About the Author

Peter Vogel is a system architect and principal in PH&V Information Services. PH&V provides full-stack consulting from UX design through object modeling to database design. Peter tweets about his VSM columns with the hashtag #vogelarticles. His blog posts on user experience design can be found at http://blog.learningtree.com/tag/ui/.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube