如何使用ReSharper为DNX项目运行xUnit 2.1.0-beta- * [英] How to run xUnit 2.1.0-beta-* for DNX projects with ReSharper

查看:67
本文介绍了如何使用ReSharper为DNX项目运行xUnit 2.1.0-beta- *的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过ReSharper为DNX项目运行xUnit 2.1.0-beta-*?

How to run xUnit 2.1.0-beta-* for DNX projects with ReSharper?

当ReSharper确实找到测试时,它无法通过System.IO.FileNotFoundException运行,表明未找到单元测试程序集.

When the ReSharper do find the tests, it fails on running them with System.IO.FileNotFoundException that indicates the unit test assembly is not found.

根据我的理解,当使用Visual Studio 2015进行编译时,DNX项目不会在\ bin文件夹中生成程序集.是否有一种方法可以强制DNX项目生成诸如传统类库项目之类的程序集?

Due to my understanding, DNX projects do NOT generate assemblies in \bin folder when they are compiled with VisualStudio 2015. Is there a way to force DNX projects generate assemblies like the tranditional class libraries projects?

有什么想法吗?

推荐答案

ReSharper或xunit插件当前不支持DNX测试.这是一个全新的执行模型,尚未为ReSharper实施.我希望随着DNX和asp.net稳定并即将发布,看到支持.

DNX tests aren't currently supported by ReSharper or the xunit plugin. It's a whole new execution model, and hasn't yet been implemented for ReSharper. I'd expect to see support as DNX and asp.net stabilise and near release.

这篇关于如何使用ReSharper为DNX项目运行xUnit 2.1.0-beta- *的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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