WPF单元测试框架 [英] WPF Unit testing framework

查看:314
本文介绍了WPF单元测试框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一个支持WPF应用程序的UnitTesting的框架.建立起来应该不难,因为我不希望编写测试要比实现一个小功能花费十倍的时间.

Is there a framework that supports UnitTesting of WPF applications. It should not be to difficult to establishe, because I don't want that writing the tests takes ten times longer than implementing a small feature.

推荐答案

您可以尝试使用NUnit,就像处理其他任何组件一样.

You can try with NUnit, just like you'll do with any other component.

(可选)您可以尝试MVC.

Optionally you can try MVC.

有关 MVCtoUnitTestinWPF

希望它有用.

这篇关于WPF单元测试框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆