C# - WPF:测试策略 [英] C# - WPF : testing strategies
问题描述
我是新的C#4.0和WPF,我要开始一个新的应用程序。
I'm new to C# 4.0 and WPF and I'm about to start a new application.
我来自一个C ++ / MFC的世界,我很感兴趣,跟了上去使用最新技术的测试策略。
Coming from a C++/MFC world, I'm interested in testing strategies used with the up to date technologies.
例如:
- 在单元测试
- 在功能测试
- UI测试
- 其他?
任何意见将是AP preciated。
Any advice would be appreciated.
感谢。
推荐答案
正如拉里说白了UI测试框架,可用于UI测试WPF。这篇文章解释得更详细些 -
As Larry said White UI test framework can be used for UI testing WPF. This post explains this in more detail -
测试WPF应用程序与 白色的UI测试框架: <一href="http://blogs.msdn.com/b/john_daddamio/archive/2008/04/04/testing-wpf-applications-with-the-white-ui-test-framework.aspx" rel="nofollow">http://blogs.msdn.com/b/john_daddamio/archive/2008/04/04/testing-wpf-applications-with-the-white-ui-test-framework.aspx
Testing WPF applications with the White UI Test framework: http://blogs.msdn.com/b/john_daddamio/archive/2008/04/04/testing-wpf-applications-with-the-white-ui-test-framework.aspx
也有看这个文章,知道如何自动化UI测试:
Also have look at this article to know how to automate the UI testing:
自动化UI测试在WPF 应用范围: http://msdn.microsoft.com/en-us/magazine/dd483216.aspx
Automating UI Tests In WPF Applications: http://msdn.microsoft.com/en-us/magazine/dd483216.aspx
的XAML团队想出了一个XAML Compliance Suite套件来验证XAML(我还没有尝试过自己虽然) -
Xaml team has come up with a XAML Compliance Suite to verify XAML(I haven't tried it myself though) -
的http://blogs.msdn.com/b/llobo/archive/2010/07/07/xaml-compliance-suite-v1.aspx
各种第三方工具也可用于测试WPF应用程序,像这样的从AutomatedQA公司 -
Various third-party tools are also available for testing WPF application, like this one from AutomatedQA -
AutomatedQA公司的TestComplete是一个 COM prehensive自动化测试工具 帮助QA团队自动化他们的 功能,单元,回归和其他 测试类型为各种各样的 应用类型,包括Windows presentation基金会(WPF) 应用程序。
AutomatedQA’s TestComplete is a comprehensive automated testing tool that helps QA teams automate their functional, unit, regression and other testing types for a wide variety of application types, including Windows Presentation Foundation (WPF) applications.
http://www.automatedqa.com/products/testcomplete/testing -wpf-应用程序/
我也建议你去通过WPF应用程序质量指南从MS
I would also suggest you to go through WPF Application Quality Guide from MS
该文件提供的概述 测试的Windows presentation 基金会(WPF)应用程序和 控制。
This document provides an overview of testing Windows Presentation Foundation (WPF) applications and controls.
http://windowsclient.net/wpf/白色纸/ WPF-APP-质量guide.aspx#介绍
这篇关于C# - WPF:测试策略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!