PHP Package: contributte/tester

Contributte Tester is a PHP library for unit testing with easy setup and clean assertions, supporting test fixtures and mocking.

Current Version: 0.3.0
Last Updated: 2023-11-17
PHP Requirement: >=8.1
Dependencies:
phpunit/phpunit
mockery/mockery
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Contributte Tester is a comprehensive PHP testing library designed to streamline unit testing processes, providing a wide array of assertion methods, fixtures management, and mock capabilities. It simplifies the testing workflow, ensuring efficient and reliable test coverage for PHP applications of any scale.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 0.4.0

Clock Coming soon

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/contributte/tester/0.4.0/loader.php';
require_once 'libs/sebastianbergmann/phpunit/12.2.2/loader.php';
require_once 'libs/mockery/mockery/1.6.12/loader.php';

use Contributte\Tester\Tester;
use PHPUnit\Framework\TestCase;

$obj = new Tester();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.