guiのテストするフレームワーク。
gui frameworkをテストするにゃーどーしたらいいかなぁ
1 FaverShareViewed: 14 TimesQuoted: TestNG-Abbot は、GUI コンポーネントのテスト方法に新風を吹き込むテスト用フレームワークです。今月は Andrew Glover が、TestNG-Abbot による GUI テストで最も難解な部分、つまりユーザー・シナリオがどのように展開するかを把握すること、について説明します。これさえ理解してしまえば、このフレームワークの便利なフィクスチャー・オブジェクトを使って GUI コンポーネントを分離して検証するのが、どれほど簡単であるかがわかるはずです。
Jaybe introduced me to the Visual Studio Unit testing and "Test Driven Development" methodology. I can't say I agree with every aspect of TDD when carried to the extreme but there are some parts I like a lot:
- Write (failing) unit tests BEFORE writing your code. (But I think you do need to do some design work and object modeling before you can start the unit testing).
- Use code coverage to make sure you're getting very high % coverage of all your code before considering your tests complete.
Part I'm not so keen on is writing code that is a "stub" for the actual working system. It seems to me this leads to a lot of writing and re-writing of code that is going to get thrown away. If you're going to write the "minimum implementation" for getting your unit tests to pass, I still think this needs to be mostly NOT throw-away code. Otherwise, how is this making "progress"?
3 FaversShareViewed: 6 TimesQuoted: The purpose of this project is to build some insightful and practical guidance around using Visual Studio Team System 2005. It's a collaborative effort between patterns & practices, VSTS team members, and industry experts.
Related Content from Around Faves
test
-
Headless web browser - for scripting against web pages/sites. Includes JavaScript support as well!
3 FaversViewed: 3 Times - mike - Nov 23 20091 FaverViewed: 2 Times
- talios - Jul 21 20091 FaverViewed: 9 Times
