java - JUnit 无法启动 JUnit 插件测试。为什么?

标签 java tdd junit4

我第一次尝试 Junit,我点击以下链接: http://www.vogella.de/articles/JUnit/article.html

当我将 testClass 作为 Run-As-> Junit Test 运行时。下面说的事情。 请帮我解决这个问题。

Could not launch the JUnit plug-in tests because project 'SalesTax'
 is not a plug-in project.

SalesTax:是项目名称 enter image description here

最佳答案

我怀疑您确实创建了一个 Eclipse 'jUnit Plugin Test' 启动配置,该配置旨在运行 Eclipse 插件 jUnit 测试(在某种模拟的 Eclipse 环境中)。

尝试创建一个简单的“jUnit”启动配置。

关于java - JUnit 无法启动 JUnit 插件测试。为什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8172413/

相关文章:

java - 如何在折线图中的标记 View 上显示 X 标签?

iphone - 如何使用 iOS 和 Objective-C/Xcode 加速 TDD 流程

java - 同时调用两个线程并返回

Perl 在 Test::MockObject 中使用 set_bound

ruby - RSpec:模拟、 stub 和验证

java - 模拟 getJdbcTemplate 方法

使用 FunctionalTestCase 测试异步 Mule Flow

java - JUnit 理论将 params 设置为 null

java - org.eclipse.persistence.exceptions.DatabaseException 内部异常 : java. sql.SQLSyntaxErrorException:ORA-00911:无效字符

java - 不能使用 Intent 将数据移动到另一个 Activity