<?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>Testing</title><link>http://blogs.msdn.com/kirillosenkov/archive/2008/05/30/testing.aspx</link><description>If you're interested in testing or would like to learn more about it, here are a couple of links: MSDN recently announced Tester Center: http://msdn.com/testercenter - this is a centralized resource about testing from Microsoft. Quote: &amp;quot;The Microsoft</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Arjan`s World    &amp;raquo; LINKBLOG for May 31, 2008</title><link>http://blogs.msdn.com/kirillosenkov/archive/2008/05/30/testing.aspx#8567122</link><pubDate>Sun, 01 Jun 2008 00:19:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8567122</guid><dc:creator>Arjan`s World    &amp;raquo; LINKBLOG for May 31, 2008</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.arjansworld.com/2008/05/31/linkblog-for-may-31-2008/"&gt;http://www.arjansworld.com/2008/05/31/linkblog-for-may-31-2008/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Testing</title><link>http://blogs.msdn.com/kirillosenkov/archive/2008/05/30/testing.aspx#8569277</link><pubDate>Mon, 02 Jun 2008 15:16:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8569277</guid><dc:creator>pkirchner</dc:creator><description>&lt;p&gt;Hi Kirill,&lt;/p&gt;
&lt;p&gt;I would be interested in how do you check for expected behaviors in the GUI testings. E.g. how do you test that the editor does the correct syntax highlighting or that the correct file opened after you selected it in the Solution Explorer.&lt;/p&gt;
&lt;p&gt;Do you use OCR or someting similar?&lt;/p&gt;
&lt;p&gt;Thx,&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;
</description></item><item><title>re: Testing</title><link>http://blogs.msdn.com/kirillosenkov/archive/2008/05/30/testing.aspx#8573502</link><pubDate>Wed, 04 Jun 2008 18:35:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8573502</guid><dc:creator>Horacio N. Hdez.</dc:creator><description>&lt;p&gt;hi kirill&lt;/p&gt;
&lt;p&gt;the backend and frontend team also uses unit-test?&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;hnh&lt;/p&gt;
</description></item><item><title>re: Testing</title><link>http://blogs.msdn.com/kirillosenkov/archive/2008/05/30/testing.aspx#8577243</link><pubDate>Fri, 06 Jun 2008 11:33:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8577243</guid><dc:creator>Kirill Osenkov</dc:creator><description>&lt;p&gt;Peter, GUI verifications are interesting. We don't do pixel-by-pixel baseline comparison, because this is too low-level - depending on a color scheme, font-size or dialog position on the screen the picture might be totally different.&lt;/p&gt;
&lt;p&gt;Instead, we use Active Accessibility and UI Automation a lot - Windows technologies that allow screen-readers and accessibility devices to enumerate windows and controls. For a given window, you have a list of all child windows that are contained in it and their names. You just search for a name, and once you've found a window, you issue windows messages to emulate keyboard and mouse. We have a pretty powerful framework with several abstraction layers that provides this functionality for us. For every UI control (like a listbox) it provides an automation peer - this way I can enumerate over all items present in a listbox and know what's the currently selected item. I can also programmatically manipulate UI controls - push buttons, clear lists, type text in textboxes, open and close windows, etc.&lt;/p&gt;
&lt;p&gt;Horacio, I suppose by the frontend and backend you mean the compiler team. C# compiler has a tremendous amount of test .cs files that is being run through the compiler to make sure it compiles them correctly. This huge set of tests is called the C# conformance tests. I'm not sure if the compiler devs use unit-tests - you better ask them yourself :) Almost all of the C# compiler devs are blogging:&lt;/p&gt;
&lt;p&gt;Ed Maurer is the dev lead on the C# compiler team: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/ed_maurer/"&gt;http://blogs.msdn.com/ed_maurer/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Other developers:&lt;/p&gt;
&lt;p&gt;Eric:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/ericlippert/"&gt;http://blogs.msdn.com/ericlippert/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sam:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/samng/"&gt;http://blogs.msdn.com/samng/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sreekar:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sreekarc/"&gt;http://blogs.msdn.com/sreekarc/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Chris:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/cburrows/"&gt;http://blogs.msdn.com/cburrows/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Kirill&lt;/p&gt;
</description></item><item><title>re: Testing</title><link>http://blogs.msdn.com/kirillosenkov/archive/2008/05/30/testing.aspx#8580150</link><pubDate>Sat, 07 Jun 2008 21:16:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8580150</guid><dc:creator>Kirill Osenkov</dc:creator><description>&lt;p&gt;Horacio,&lt;/p&gt;
&lt;p&gt;I just checked with the C# compiler team - they use unit-tests too.&lt;/p&gt;
</description></item><item><title>re: Testing</title><link>http://blogs.msdn.com/kirillosenkov/archive/2008/05/30/testing.aspx#8716892</link><pubDate>Thu, 10 Jul 2008 16:30:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8716892</guid><dc:creator>Imran Qureshi</dc:creator><description>&lt;p&gt;You mentioned:&lt;/p&gt;
&lt;p&gt;Many of our tests use a new data-driven test framework where our test scripts are written in XML and are interpreted by a script-like engine. &lt;/p&gt;
&lt;p&gt;Is this available for people outside Microsoft to use? &lt;/p&gt;
</description></item><item><title>re: Testing</title><link>http://blogs.msdn.com/kirillosenkov/archive/2008/05/30/testing.aspx#8717997</link><pubDate>Thu, 10 Jul 2008 21:22:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8717997</guid><dc:creator>Kirill Osenkov</dc:creator><description>&lt;p&gt;Not yet. But we're definitely thinking about making this public.&lt;/p&gt;
&lt;p&gt;What are you more interested in: generic data-driven XML based test framework or its particular application to automated testing of Visual Studio?&lt;/p&gt;
</description></item><item><title>re: Testing</title><link>http://blogs.msdn.com/kirillosenkov/archive/2008/05/30/testing.aspx#8742756</link><pubDate>Thu, 17 Jul 2008 11:22:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8742756</guid><dc:creator>Jose Antonio Arias</dc:creator><description>&lt;p&gt;Hello Kirill.&lt;/p&gt;
&lt;p&gt;I'm interested in generic data-driven XML based test framework. &lt;/p&gt;
</description></item><item><title>re: Testing</title><link>http://blogs.msdn.com/kirillosenkov/archive/2008/05/30/testing.aspx#9234896</link><pubDate>Thu, 18 Dec 2008 10:27:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9234896</guid><dc:creator>Malcolm</dc:creator><description>&lt;p&gt;I am interested in the generic data-driven XML based test framework itself. &amp;nbsp;I can see how that could serve in a lot of environments. &amp;nbsp;Can you go into more detail about the tools you use for the UI-automation with Active Accessibility?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: Testing</title><link>http://blogs.msdn.com/kirillosenkov/archive/2008/05/30/testing.aspx#9254022</link><pubDate>Sat, 27 Dec 2008 04:32:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9254022</guid><dc:creator>Kirill Osenkov</dc:creator><description>&lt;p&gt;Thanks everyone for your interest. I've asked my management and it turns out that the test frameworks we use currently are not public yet, so I can't talk about them just now. As soon as I can tell you more, I'll post an article about this on my blog. Thanks again.&lt;/p&gt;
</description></item></channel></rss>