在Windows 7 OS上使用EvoSuite插件进行蚀 [英] using EvoSuite plugin for eclipse on Windows 7 OS

查看:92
本文介绍了在Windows 7 OS上使用EvoSuite插件进行蚀的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在Windows 7 OS上将EvoSuite插件用于eclipse(keplero).为了测试此插件,我从站点 http://www.evosuite.org/study/下载了文件ATM.java..现在,当我右键单击目标类-> evoSuite->生成JUnit Test Suite Eclipse时,告诉我:

I'm try to use the EvoSuite plugin for eclipse (keplero) on Windows 7 OS. For testing this plugin i download the file ATM.java from the site http://www.evosuite.org/study/ . Now when i do right click on the target class -> evoSuite -> Generate JUnit Test Suite eclipse tell me:

找不到文件ATM_ESTest.java

Impossible to find the file ATM_ESTest.java

我在哪里错了?

PS:如果我创建文件ATM_ESTest.java,错误消失,但文件未更改(未写入测试)

PS: if i create the file ATM_ESTest.java the error disappear, but the file not change (no test are write)

推荐答案

此问题也可以在命令行操作中找到.在命令行操作中,我们发现jre缺少jdk的 tools.jar .如果将 jdk1.8/lib/tools.jar 放入 jre8/lib/中,该问题将得到解决.

This problem can also be found in command line operation.In command line operation,we found jre lacks the jdk's tools.jar. If the jdk1.8/lib/tools.jar was put into jre8/lib/, the problem will be solved.

这篇关于在Windows 7 OS上使用EvoSuite插件进行蚀的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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