Download the PHP package hollodotme/phpunit-testdox-markdown without Composer

On this page you can find all versions of the php package hollodotme/phpunit-testdox-markdown. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package phpunit-testdox-markdown

Latest Stable Version Total Downloads

PHPUnit\TestListeners\TestDox

END OF LIFE

Please note: This project won't receive updates or fixes anymore and was marked as "abandoned" at packagist.org.

However, if you find this code useful in any way, feel free to fork, change and re-publish it. The MIT license applies.

Description

A PHPUnit test listener that creates a testdox markdown file with grouped dataset output

Requirements

Installation

Usage

If you are using PSR-4 autoloading, add the following to your phpunit.xml:

If you're not using PSR-4 autoloading, also add the class' file path to the <listener> tag:

Available listener arguments

Name Type Required Meaning
environment string YES Is printed on top of the testdox report to identifiy on which build stage the report has been created.
outputFile string YES Relative path to the markdown testdox output file. Please note: the path must be relative to your current working directory, not to the location of the phpunit.xml.
baseNamespace string NO A part of your test namespace to shorten the output headlines. Example: Your test namespace is YourVendor\YourProject\Tests\Unit and you set baseNamespace to YourVendor\YourProject\Tests all headlines will be prefixed with Unit\ only.
testStatusMap array NO A key-value array of strings that let's you manipulate the icons for each test result status. See example below.

Example with all available arguments

Example output


๐Ÿ’š Passed | ๐Ÿ’” Error | ๐Ÿ’” Failure | ๐Ÿงก Warning | ๐Ÿ’› Risky | ๐Ÿ’™ Incomplete | ๐Ÿ’œ Skipped

Test suite: Unit-Test-Suite

UnitTest


Report created at 2018-05-21 22:23:12 (UTC)

Contributing

Contributions are welcome and will be fully credited. Please see the contribution guide for details.


All versions of phpunit-testdox-markdown with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hollodotme/phpunit-testdox-markdown contains the following files

Loading the files please wait ....