`
no7beckham
  • 浏览: 97169 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Open Source Java Testing Tools

    博客分类:
  • JAVA
阅读更多
  1. Cactus(http://jakarta.apache.org/cactus/index.html)

    Description:

    Cactus is a simple test framework for unit testing server-side java code (Servlets, EJBs, Tag Libs, Filters, ...) The intent of Cactus is to lower the cost of writing tests for server-side code. It uses JUnit and extends it.

  2. Checkstyle(http://checkstyle.sourceforge.net/)

    Description:

    Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.

  3. Cobertura(http://cobertura.sourceforge.net/)

    Description:

    Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage.

  4. Dbunit(http://dbunit.sourceforge.net/)

    Description:

    DbUnit is a JUnit extension (also usable from Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage.

  5. EasyMock + ClassExtension(http://www.easymock.org/)

    Description:

    EasyMock with class extension provides an easy, clean framework for creating mock-objects for classes and interfaces. The expected method calls and desired return values are specified, the code under test is run and then the expected behaviour is verified.

  6. EclEmma(http://www.eclemma.org/)

    Description:

    EclEmma is a free Java code coverage tool for Eclipse, available under the Eclipse Public License. Internally it is based on the great EMMA Java code coverage tool, trying to adopt EMMA's philosophy for the Eclipse workbench.

  7. Findbugs(http://findbugs.sourceforge.net/)

    Description:

    Findbugs is a static analysis tool to find bugs in Java programs.

  8. Jester(http://jester.sourceforge.net/)

    Description:

    Jester finds code that is not covered by tests. Jester makes some change to your code, runs your tests, and if the tests pass Jester displays a message saying what it changed. Jester includes a script for generating web pages that show the changes made that did not cause the tests to fail. Jester is different than code coverage tools, because it can find code that is executed by the running of tests but not actually tested. However, Jester is not meant as a replacement for code coverage tools, merely as a complementary approach. Jester is for Java code and JUnit tests. Pester is Jester for Python code and PyUnit tests.

  9. jMock(http://www.jmock.org/)

    Description:

    jMock is a library for testing Java code using mock objects. The jMock package makes it quick and easy to define mock objects, lets you define flexible constraints over object interactions, and is easy to extend.

  10. JUnitPerf(http://www.clarkware.com/software/JUnitPerf.html)

    Description:

    JUnitPerf is a collection of JUnit test decorators used to measure the performance and scalability of functionality contained within existing JUnit tests.

  11. PMD(http://pmd.sourceforge.net/)

    Description:

    PMD scans Java source code and looks for potential problems. It has plugins for JEdit, JBuilder, Netbeans/Forte/Sun ONE, IntelliJ IDEA, Maven, Ant, Eclipse, Gel, and Emacs.

  12. StrutsTestCase for JUnit v1.9.5(http://strutstestcase.sourceforge.net/)

    Description:

    StrutsTestCase for JUnit is an extension of the standard JUnit TestCase class that provides facilities for testing code based on the Struts framework.

  13. JEasyTest(https://jeasytest.dev.java.net/)

    Description:

    JEasyTest is an Eclipse IDE plugin created to simplify unit testing of code that is hard to test using standard mock objects frameworks, as for example code using legacy code.

  14. djUnit(http://works.dgic.co.jp/djunit/index.html)

    Description:

    djUnit is a JUnit test runner, which generates coverage report and allows virtual mock objects. It integrates with Eclipse and Ant.

  15. TagUnit(http://tagunit.sourceforge.net/)

    Description:

    In the same way that JUnit allows us to write unit tests for Java classes, TagUnit allows us to unit test JSP custom tags, inside the container. In essence, TagUnit is a tag library for testing custom tags within JSP pages.

  16. JCoverage(http://java-source.net/open-source/code-coverage/jcoverage-gpl)

    Description:

    jcoverage/gpl is a free code-coverage tool for Java™ programmers that allows them to measure the effectiveness of their Java tests and how much of a software program's code has been tested. jcoverage/gpl identifies how many times each line of code in your application has been executed and you can see which parts of your software remain untested. After instrumenting your code and running your tests, a report is generated allowing you to view information coverage figures from a project level right down to the individual line of code. This process is called 'code coverage'.

  17. Coverlipse(http://java-source.net/open-source/code-coverage/coverlipse)

    Description:

    An eclipse plugin for code coverage visualization of JUnit Tests. Supported coverages include block coverage and all-uses coverage (Data Flow Analysis).

  18. CoverCode(http://java-source.net/open-source/code-coverage/codecover)

    Description:

    CodeCover is an extensible open source code coverage tool, with the following features:

     * Supports statement coverage, branch coverage, loop coverage and strict condition coverage (aka condition/decision coverage).
     * Performs source instrumentation for the most accurate coverage measurement.
     * CLI interface, for easy use from the command line.
     * Ant interface, for easy integration into an existing build process.
     * Fully integrated into Eclipse.
     * Customizable HTML and CSV report.
     * Per test case coverage measurement.
     * Fully integrated with JUnit for automatic recognition of test cases.
     * Live notification for manual test case recognition.
     * Boolean Analyzer which helps to find test cases to increase strict condition coverage.
     * Correlation Matrix to find redundant test cases and optimize your test suite.

分享到:
评论

相关推荐

    opensource fuzzing tools

    - **标题**:“opensource fuzzing tools”(开源模糊测试工具) - **描述**:“opensource fuzzing test tools, for security test.”(开源模糊测试工具,用于安全测试) 该标题与描述共同指出了本文将讨论的主题...

    open_source_tools

    Wakaleo Consulting is a consulting company that helps organisations ... Test-Driven Development, Acceptance-Test Driven Development, Build Automation, Code Quality Practices and Automated Web Testing.

    Wrox.Press.Professional.Java.Tools.for.Extreme.Programming.eBook-LiB.part3

    In the last few years, open source developers have created or significantly improved a host of Java XP tools, from XDoclet, Maven, AntHill, and Eclipse to Ant, JUnit, and Cactus. This practical, code...

    Wrox.Press.Professional.Java.Tools.for.Extreme.Programming.eBook-LiB.part4

    In the last few years, open source developers have created or significantly improved a host of Java XP tools, from XDoclet, Maven, AntHill, and Eclipse to Ant, JUnit, and Cactus. This practical, code...

    Professional Java Tools for Extreme Programming (JAVA经典书籍英文版)_part2

    In the last few years, open source developers have created or significantly improved a host of Java XP tools, from XDoclet, Maven, AntHill, and Eclipse to Ant, JUnit, and Cactus. This practical, code...

    Professional Java Tools for Extreme Programming (JAVA经典书籍英文版)_part1

    In the last few years, open source developers have created or significantly improved a host of Java XP tools, from XDoclet, Maven, AntHill, and Eclipse to Ant, JUnit, and Cactus. This practical, code...

    Web.Services.Testing.with.soapUI

    and open source tools are avaialble to test web services automatically. soapUI is one such free and open source testing tool that suppots functional and non-functional evaluations of web services.

    enterprise java microservices

    Java developers now enjoy a wide range of tools that support microservices application development, including right-sized app servers, open source frameworks, and well-defined patterns. Best of all, ...

    Visual assert

    Visual Assert (formerly code-named cfix studio) is based on, and fully compatible to the open source unit testing framework cfix. Last but not least, Visual Assert is free for both, commercial and ...

    Performance Testing with Jmeter

    Apache JMeter is a free open source, cross-platform, performance testing tool that has been around since the late 90s. It is mature, robust, portable, and highly extensible. It has a large user base ...

    selenium framework design data driven testing

    The Selenium WebDriver 3.x Technology is an open source API available to test both Browser and Mobile applications. It is completely platform independent in that tests built for one browser or mobile ...

    Android代码-CPU Info (open-source)

    Testing tools Mockito mockito-kotlin Espresso Jacoco (for coverage) CI Travis Still TODO Migration all heavy lifting into coroutines (remove AsyncTask) Tests Fix for RAM widget on Android O Add ...

    Building and Testing with Gradle

    Build and test software written in Java and many other languages with Gradle, the open source project automation tool that's getting a lot of attention. This concise introduction provides numerous ...

    The Craft of Model-Based Testing

    The last chapter describes six Open Source tools to round out a tester’s knowledge of MBT. In addition, the book supports the International Software Testing Qualifications Board’s (ISTQB®) MBT ...

    Mastering Kali Linux for Advanced Penetration Testing - Second Edition 【含代码】

    Further we will get acquainted with passive reconnaissance with open source intelligence and active reconnaissance of the external and internal networks. We will also focus on how to select, use, ...

    Core Software Security: Security at the Source

    Open-Source Licensing Review Final Security Review Final Privacy Review Key Success Factors Deliverables Metrics Chapter Summary References Post-Release Support (PRSA1–5) Right-Sizing Your Software ...

    Mastering Pandas for Finance(PACKT,2015)

    From there, you will learn about more complex trading algorithms and implement them using open source back-testing tools. Then, you will examine the calculation of the value of options and Value at ...

Global site tag (gtag.js) - Google Analytics