Test Patterns

Encouraging to see more thought and effort being put into software test patterns.  Alan Page recently posted on this topic over at the MS Press Blog.

Iterative XML Tree Traversal

Here’s a C# code snippet for iterative tree traversal of elements in an XML document using XPathNavigator that takes advantage of parent pointers.  [ download source ] test.xml     1 <?xml version=“1.0“ encoding=“UTF-8“ standalone=“no“ ?>     2 <test>     3  <a/>     4  <b/>     5  <c>     6   <c1/>     7   <c2>     8    <c2i/>     9    <c2ii/>    10   </c2>    11  </c>    12 </test> test.cs     1 using System;     2 using System.Xml.XPath;     3 …

Risk Management

My first article on the topic of security testing and risk management is now published in the March 2009 issue of Testing Experience magazine, pages 28-30. http://www.testingexperience.com/subscribe.php (free online subscription takes you to PDF download)