Windows アプリの UI テストを自動化しよう@@IT 少し古い記事だけど、ちょうど UI の自動テストをやりたかったので試してみた。 NUnit も初めてだったのでこの記事もあわせて読んだ。 で、このツールは 「Windowsアプリケーション(Win32)」 でも使えるとのことで試してみた。 やること Visual Studio 2008 にて MFC アプリケーションを作成し、その UI テストを UI オートメーションと NUnit を使って行う。 今回使ったもの .NET Framework 3.0 (Visual Studio 2008 があれば OK かも) UI Spy (Windows SDK for Windows Vista に含まれる) NUnit NUnit 2.4.5 手順 テストされる側(アプリケーション)の作成 1. Visual Studio 2008