<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Kavitak's WebLog : Testing</title><link>http://blogs.msdn.com/kavitak/archive/tags/Testing/default.aspx</link><description>Tags: Testing</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Testing exceptions</title><link>http://blogs.msdn.com/kavitak/archive/2004/01/25/62763.aspx</link><pubDate>Sun, 25 Jan 2004 22:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:62763</guid><dc:creator>kavitak</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/kavitak/comments/62763.aspx</comments><wfw:commentRss>http://blogs.msdn.com/kavitak/commentrss.aspx?PostID=62763</wfw:commentRss><description>&lt;P&gt;Keith Stobie, a test architect on the Indigo team has an interesting article on &lt;A href="http://www.dkl.com/pdf/exception_testing.pdf"&gt;testing exceptions&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Though it is important to verify that the correct exceptions get raised when incorrect data is passed to a function, it is also important to check the state after the exception has happened. What happens when you pass incorrect data, get an exception (which is a expected result for your test), and try to pass correct data - do you still get the exception; if so, you know the method didnt clean its state propertly. Most people miss verifying post-conditions. Verifying that things return to normal can lead to some interesting bugs.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=62763" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/kavitak/archive/tags/Testing/default.aspx">Testing</category></item><item><title>Testing with ASML</title><link>http://blogs.msdn.com/kavitak/archive/2004/01/25/62761.aspx</link><pubDate>Sun, 25 Jan 2004 22:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:62761</guid><dc:creator>kavitak</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/kavitak/comments/62761.aspx</comments><wfw:commentRss>http://blogs.msdn.com/kavitak/commentrss.aspx?PostID=62761</wfw:commentRss><description>&lt;P&gt;ASML - Abstract State Machine Language is a technique being used in Microsoft by a few test teams to test their features. It is an executable specification language that is based on abstract state machines. The research team at Microsoft has integrated this into Word and VS.NET and made the language interoperable with other .NET languages. You can compare the model with the implementation side-by-side to verify the implementation in terms of input/output or state transitions at each step. I had attended a talk on it 1.5 years back, and they didnt have test tools at the time.&amp;nbsp;Now they also have test tools that help you generate tests by doing paramter generation and different test sequences from your model. This is great for testers, I have got to get on the bandwagon and see if it can do something for me. Planning on using it for a feature in Indigo I am going to be responsible for testing in March.&lt;/P&gt;
&lt;P&gt;For more info on ASML, go &lt;A href="http://research.microsoft.com/foundations/AsmL/"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=62761" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/kavitak/archive/tags/Testing/default.aspx">Testing</category></item></channel></rss>