相关疑难解决方法(0)

How to efficiently JUnit test Eclipse RCP Plugins

We have a rather larger Eclipse RCP application and are not sure how to properly test it's plugins.

  • For each plugin, there is a test fragment that contains Unit tests.
  • For smaller tests, that do not require the RCP Platform running, we simply invoke the "standard" JUnit test runner.

在此处输入图片说明

  • For tests, that require the RCP Platform, there is the possibility to test it using the JUnit plugin test runner.

在此处输入图片说明

  • For the JUnit plugin tests, it is possible to define which …

tdd junit eclipse-rcp

5
推荐指数
1
解决办法
521
查看次数

一个好的单元测试有什么属性?

单元测试应该

  • 产生确定性结果
  • 独立
  • 有效
  • ...

测试还应该具备哪些其他特性?

attributes unit-testing

3
推荐指数
1
解决办法
1741
查看次数

标签 统计

attributes ×1

eclipse-rcp ×1

junit ×1

tdd ×1

unit-testing ×1