lubosdz/simpletest

SimpleTest is a framework for unit testing, web site testing and mock objects for PHP.

1.2.3 2023-09-18 16:38 UTC

This package is auto-updated.

Last update: 2024-11-22 17:44:15 UTC


README

SimpleTest is a framework for unit testing, web site testing and mock objects for PHP. This is a simple fork to allow installation also for PHP 8+.

Installation

Downloads

All downloads are stored on Github Releases.

You may find the zip of the "latest released/tagged version" here:

https://github.com/simpletest/simpletest/releases/latest

You may find the zip archive of the "dev-master" branch here:

https://github.com/simpletest/simpletest/archive/master.zip

Composer

You may also install the extension through Composer into the /vendor folder of your project.

Either run

php composer.phar require --prefer-dist lubosdz/simpletest "^1.1"

or add the package simpletest/simpletest to the require-dev section of your composer.json file:

{
	"require-dev": {
		"lubosdz/simpletest": "^1.1"
	}
}

followed by running composer install.

Issues

Please report all issues you encounter at Github Issues.

Community

Feel free to ask a new question on Stack Overflow or at Github Issues.

StackOverflow offers also a good collection of SimpleTest related questions.

Requirements

PHP 7.1+

Authors

License

GNU LGPL v2.1

Tests

The unit tests for SimpleTest itself can be run here:

test/all_tests.php

The acceptance tests require a running server:

- php -S localhost:8080 -t test/site
- test/acceptance_test.php

Docs

http://simpletest.org/en/first_test_tutorial.html