如何获取使用Silverlight单元测试创​​建的单元测试的代码覆盖率。

编程入门 行业动态 更新时间:2024-10-19 13:32:00
本文介绍了如何获取使用Silverlight单元测试创​​建的单元测试的代码覆盖率。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们有一个基于PRISM的MVVM Silverlight应用程序(SL5)。 想法是为viewmodel创建单元测试,在某些地方创建视图代码。 我们探索了msTest,nunit和Silverlight单元测试框架,并得出结论Silverlight单元测试仅适用于我们的应用程序。 问题是: 1. Silverlight单元测试是基于PRISM的Silverlight应用程序的最佳方式吗? 2.如何获得我单位的代码覆盖率Silverlight Unit测试框架中的测试?

Hi, We have a PRISM based MVVM Silverlight application(SL5). The idea is to create unit tests for the viewmodel and in some places view code. We explored msTest, nunit and Silverlight unit test framework for the same and reached a conclusion that Silverlight unit test only work with our application. The questions are: 1. Is Silverlight unit test the best way to go about for PRISM based Silverlight applications? 2. How to get the code coverage for my unit tests in Silverlight Unit test framework?

推荐答案

更多推荐

如何获取使用Silverlight单元测试创​​建的单元测试的代码覆盖率。

本文发布于:2023-11-16 01:40:43,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1599841.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:单元测试   覆盖率   代码   Silverlight

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!