simpletest / simpletest
SimpleTest is a framework for unit testing, web site testing and mock objects for PHP.
Installs: 339 872
Dependents: 45
Suggesters: 1
Security: 0
Stars: 150
Watchers: 27
Forks: 47
Open Issues: 19
Requires
- php: ^7.1
README
SimpleTest is a framework for unit testing, web site testing and mock objects for PHP.
Installation
Downloads
All downloads are stored on Github Releases.
You may find the zip of the "latest released version" here:
https://github.com/simpletest/simpletest/releases/latest
You may find the zip archive of the "main" development branch here:
https://github.com/simpletest/simpletest/archive/main.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 simpletest/simpletest "^1.2"
or add the package simpletest/simpletest
to the require-dev section of your composer.json
file:
{
"require-dev": {
"simpletest/simpletest": "^1.2"
}
}
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
- Marcus Baker
- Jason Sweat
- Travis Swicegood
- Perrick Penet
- Edward Z. Yang
- Jens A. Koch
- Contributors on Github
License
GNU LGPL v2.1
Tests
The unit tests for SimpleTest itself can be run here:
tests/all_tests.php
The acceptance tests require a running server:
- php -S localhost:8080 -t tests/site
- tests/acceptance_test.php
Docs
https://simpletest.org/en/first_test_tutorial.html