Download the PHP package testflowlabs/testlink without Composer

On this page you can find all versions of the php package testflowlabs/testlink. 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 testlink

TestLink

Framework-Agnostic Test Traceability for PHP

PHP Version Pest Support PHPUnit Support

TestLink creates bidirectional links between your tests and production code. Know exactly which tests cover each method, and which methods each test exercises.

Supports both Pest and PHPUnit - use whichever testing framework you prefer, or both in the same project.

Features

Quick Start

Installation

Why two packages?

Link from Production Code (Recommended)

Link from Tests

Pest

PHPUnit

CLI Commands

Sample Output

Validation

The validate command checks for:

Auto-Sync

Automatically generate link calls from #[TestedBy] attributes:

How It Works

  1. Scans production code for #[TestedBy] attributes
  2. Locates corresponding test files and test cases
  3. Adds missing linksAndCovers() calls (Pest) or #[LinksAndCovers] attributes (PHPUnit)

Before Sync (Pest)

After Sync (Pest)

Before Sync (PHPUnit)

After Sync (PHPUnit)

Link Types

Type Pest Method PHPUnit Attribute Purpose
Link + Coverage ->linksAndCovers() #[LinksAndCovers] Traceability + triggers coverage tracking
Link Only ->links() #[Links] Traceability only, no coverage

Use Link + Coverage for unit tests where you want coverage tracking. Use Link Only for integration/e2e tests where unit coverage is already tracked elsewhere.

JSON Export

For CI/CD integration:

Bootstrap (Pest)

Add to tests/Pest.php to enable linksAndCovers() and links() methods:

Best Practices

1. Prefer #[TestedBy] Attributes

Placing links in production code keeps coverage visible where it matters:

2. Use Link Types Appropriately

3. Run Validation in CI

Hybrid Projects

TestLink seamlessly supports projects using both Pest and PHPUnit:

Documentation

Full documentation is available at the TestLink Documentation.

Ecosystem

TestLink is part of the TestFlowLabs ecosystem:

Package Description
test-attributes PHP attributes for test metadata (#[LinksAndCovers], #[Links])
testlink This package - Test traceability, #[TestedBy] attribute, CLI tools

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Run composer test to ensure all checks pass
  4. Submit a pull request

License

MIT License. See LICENSE for details.


All versions of testlink with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
nikic/php-parser Version ^5.0
phpstan/phpdoc-parser Version ^2.0
testflowlabs/test-attributes Version ^1.0
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 testflowlabs/testlink contains the following files

Loading the files please wait ...