开发者

New unit testing framework for Java [closed]

开发者 https://www.devze.com 2023-03-13 04:33 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

开发者_JAVA技巧

Closed 11 years ago.

Improve this question

I'm looking into new frameworks to perform some unit testing on a java project. I am aware of junit, but beyond that I haven't found much of consequence. Are there any frameworks out there that are recommended?


TestNG is something you have a look at. I have used it. Provides a lot of features that JUnit provides.

This page has advantages of TestNG Over Junit.


TestNG is quite a popular choice. And then there is JDave if you are looking for a BDD style framework.


To complement JUnit, there are mocking libraries such as JMock and EasyMock.


If it's pure unit testing, maybe try TestNG, but either way you should be fine with either JUnit or TestNG

0

精彩评论

暂无评论...
验证码 换一张
取 消