简体   繁体   English

Junit测试用例生成器

[英]Junit Test Cases Generator

I have an existing Java EE Application Code, for which i need to write JUnit Test Cases. 我有一个现有的Java EE应用程序代码,为此我需要编写JUnit测试用例。

Is there a free easy to use tool which will generate basic Junit Test Cases for me for the code base (hundreds of classes across packages) - i will update these test cases post their generation ? 有没有免费的易于使用的工具,可以为我的代码库生成基本的Junit测试用例(跨包的数百个类)-我将在生成这些测试用例后对其进行更新?

I can't find any good tool in this regard. 在这方面,我找不到任何好的工具。 Any suggestions in this regard? 在这方面有什么建议吗?

Groovy is an easy way to do that. Groovy是一种简单的方法。

and JTest is a commercial tool JTest是一种商业工具

if you are using spring roo it will easy to have junit test cases 如果您使用的是Spring Roo,则很容易拥有junit测试用例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM