开发者

Software Testing Tools - for java [closed]

开发者 https://www.devze.com 2022-12-25 19:23 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

Can someone list me 5 good soft开发者_如何学JAVAwares for "Software Testing" in java projects? I need to study 5 of them, what do you recommend?


  • Unit test frameworks: JUnit / TestNG
  • Mocking frameworks: JMock / EasyMock / Mockito
  • Continuous Integration tools: CruiseControl / Hudson
  • Requirements testing: Fit / FitNesse
  • Code coverage: Cobertura
  • Automated UI testing: Selenium
  • Other tools: HTTPUnit / DBUnit
  • Mutation Testing PITest
  • Contract tester: EqualsVerifier (Ok, full disclosure: I made this one myself.)


To start off, the jUnit unit testing framework.

However, there are many different tools, depending on the type of testing you are doing.

Here is a good list.


Mutation Testing is a neat idea.

My preference is to catch bugs before testing via checkstyle, PMD, and FindBugs.

For unit testing JUnit or TestNG.

To ensure that unit tests are testing a fair chunk of the code a code coverage tool such as cobertura or EMMA.


  • JUnit
  • DBUnit
  • HttpUnit
  • Selenium
  • SoapUI


In addition to the unit testing tools already listed in the other answers, you may want to read about functional testing as well. For, example: Quick Test Pro

The test scripting language in Quick Test Pro is VB Script. but the created tests can be run against any GUI application, including Java GUIs.

0

精彩评论

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