【发布时间】:2011-08-01 23:03:24
【问题描述】:
如何分析在 Ubuntu 上运行的 Netbeans 6.9 中的单元测试?
我的研究表明您使用了“Profile test for ...”菜单项。从主菜单中,您可以在以下位置看到它: Profile : Profile Other : Profile test for ClassName。
在我的情况下,菜单总是被禁用。您如何启用此功能?
【问题讨论】:
标签: unit-testing netbeans profile
如何分析在 Ubuntu 上运行的 Netbeans 6.9 中的单元测试?
我的研究表明您使用了“Profile test for ...”菜单项。从主菜单中,您可以在以下位置看到它: Profile : Profile Other : Profile test for ClassName。
在我的情况下,菜单总是被禁用。您如何启用此功能?
【问题讨论】:
标签: unit-testing netbeans profile
Profile Test For File 菜单仅在选择可测试类时启用,无论是在项目窗口中还是打开。选择测试类时不会启用!
【讨论】:
Profile File 和 Profile Test File 主菜单和上下文菜单中的项目 Profile源和测试仍然是灰色的。只能选择Profile Project (EJB),这在现阶段是不可取的。