+
+

Related Products

  • Parasoft
    152 Ratings
    Visit Website
  • MuukTest
    34 Ratings
    Visit Website
  • Gearset
    305 Ratings
    Visit Website
  • QA Wolf
    273 Ratings
    Visit Website
  • Checksum.ai
    2 Ratings
    Visit Website
  • TrustInSoft Analyzer
    6 Ratings
    Visit Website
  • Rocket z/Assure VAP
    1 Rating
    Visit Website
  • Virtuoso QA
    131 Ratings
    Visit Website
  • Lockbox LIMS
    72 Ratings
    Visit Website
  • Aikido Security
    364 Ratings
    Visit Website

About

PHPUnit requires the dom and json extensions, which are normally enabled by default. PHPUnit also requires the pcre, reflection, and spl extensions. These standard extensions are enabled by default and cannot be disabled without patching PHP’s build system and/or C sources. The code coverage report feature requires the Xdebug (2.7.0 or later) and tokenizer extensions. Generating XML reports requires the xmlwriter extension. Unit Tests are primarily written as a good practice to help developers identify and fix bugs, to refactor code and to serve as documentation for a unit of software under test. To achieve these benefits, unit tests ideally should cover all the possible paths in a program. One unit test usually covers one specific path in one function or method. However a test method is not necessarily an encapsulated, independent entity. Often there are implicit dependencies between test methods, hidden in the implementation scenario of a test.

About

Writing unit tests can be hard and sometimes good design has to be sacrificed for the sole purpose of testability. Often testability corresponds to good design, but this is not always the case. For example final classes and methods cannot be used, private methods sometimes need to be protected or unnecessarily moved to a collaborator, static methods should be avoided completely and so on simply because of the limitations of existing frameworks. PowerMock is a framework that extends other mock libraries such as EasyMock with more powerful capabilities. PowerMock uses a custom classloader and bytecode manipulation to enable mocking of static methods, constructors, final classes and methods, private methods, removal of static initializers and more. By using a custom classloader no changes need to be done to the IDE or continuous integration servers which simplifies adoption.

Platforms Supported

Windows Supported
Mac Supported
Linux Supported
Cloud Not Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Platforms Supported

Windows Supported
Mac Supported
Linux Supported
Cloud Not Supported
On-Premises Not Supported
iPhone Not Supported
iPad Not Supported
Android Not Supported
Chromebook Not Supported

Audience

Unit Testing solution for developers

Audience

Unit Testing solution for developers

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

Support

Phone Support Not Supported
24/7 Live Support Not Supported
Online Supported

API

Offers API Supported

API

Offers API Not Supported

Screenshots and Videos

Screenshots and Videos

Pricing

Free
Free Version Supported
Free Trial Not Supported

Pricing

Free
Free Version Supported
Free Trial Not Supported

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Reviews/Ratings

Overall 0.0 / 5
ease 0.0 / 5
features 0.0 / 5
design 0.0 / 5
support 0.0 / 5

This software hasn't been reviewed yet. Be the first to provide a review:

Review this Software

Training

Documentation Supported
Webinars Not Supported
Live Online Not Supported
In Person Not Supported

Training

Documentation Supported
Webinars Not Supported
Live Online Not Supported
In Person Not Supported

Company Information

PHPUnit
phpunit.de/

Company Information

PowerMock
github.com/powermock/powermock

Alternatives

Early

Early

EarlyAI

Alternatives

dotCover

dotCover

JetBrains
Telerik JustMock

Telerik JustMock

Progress Telerik
CodeRush

CodeRush

DevExpress

Categories

Code Coverage Supported
Unit Testing Supported

Categories

Integrations

Allure Report Supported
Bootstrap Not Supported
Captain Supported
Codecov Supported
Dash Supported
EasyMock Not Supported
JSON Supported
JUnit Not Supported
Java Not Supported
Mockito Not Supported
New Relic Supported
PHP Supported
PHPStan Supported
PHPixie Supported
Parasoft Not Supported
PhpStorm Supported
Testmo Supported
XML Supported
Xdebug Supported

Integrations

Allure Report Not Supported
Bootstrap Supported
Captain Not Supported
Codecov Not Supported
Dash Not Supported
EasyMock Supported
JSON Not Supported
JUnit Supported
Java Supported
Mockito Supported
New Relic Not Supported
PHP Not Supported
PHPStan Not Supported
PHPixie Not Supported
Parasoft Supported
PhpStorm Not Supported
Testmo Not Supported
XML Not Supported
Xdebug Not Supported
Claim PHPUnit and update features and information
Claim PHPUnit and update features and information
Claim PowerMock and update features and information
Claim PowerMock and update features and information