IntelliTest无法在Visual Studio 2017企业版中运行 [英] IntelliTest Fails to Run in Visual Studio 2017 Enterprise

查看:122
本文介绍了IntelliTest无法在Visual Studio 2017企业版中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始尝试使用IntelliTest为遗留代码生成一些单元测试。但是,基本的第一步(Run IntelliTest)每次都会失败,即使是我能找到的最简单的方法。以下是我看到的错误以及我正在测试的方法。
作为参考,我使用的是.NET Framework 4.5和VS 15.9.11版。我也搜索了这个错误并且干了。

I've recently started trying to use IntelliTest to generate some Unit Tests for our legacy code. However, the basic first step (Run IntelliTest) fails every time, even on the simplest method I could find. Below is the error I see and the method I'm testing. For reference, I'm using .NET Framework 4.5 and VS version 15.9.11. I also searched for this error and came up dry.

启动受监视的进程

监听受监控的x86进程(冷启动)

监视进程退出 ReflectionError(-1011 - 0xfffffc0d)

已完成

starting monitored process
listening to monitored x86 process (cold start)
monitored process exited with ReflectionError (-1011 - 0xfffffc0d)
finished

public string CleanCommentString(string comment) {
            char[] trimChars = { ' ', ';', ',' };

            comment = comment.Replace(";;", ";");
            comment = comment.Replace(".;", ";");
            comment = comment.Replace(",;", ";");
            comment = comment.Replace("\"", " in.");
            comment = comment.Replace("  ", " ");
            comment = comment.TrimEnd(trimChars);

            return comment;
        }


如何解决此错误并生成单元测试?

What can I do to resolve this error and generate unit tests?

推荐答案

嗨Benjamin

Hi Benjamin

欢迎来到MSDN论坛。

Welcome to MSDN forum.

请将您的visual studio更新到最新版本(15.9.11),并尝试使用Intellitest生成单元测试。如果仍然存在,请随时与我们联系并分享更多更新详情。

Please update your visual studio to newest version(15.9.11) and have a try to use Intellitest to generate unit tests. If it persists, please feel free to contact us and share more update details.

最好的问候,

Dylan


这篇关于IntelliTest无法在Visual Studio 2017企业版中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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