Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simpletest/simpletest
SimpleTest - Unit Testing for PHP
https://github.com/simpletest/simpletest
php simpletest testing
Last synced: 1 day ago
JSON representation
SimpleTest - Unit Testing for PHP
- Host: GitHub
- URL: https://github.com/simpletest/simpletest
- Owner: simpletest
- License: lgpl-2.1
- Created: 2013-09-21T18:47:12.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2025-01-03T12:44:11.000Z (11 days ago)
- Last Synced: 2025-01-03T13:36:58.809Z (11 days ago)
- Topics: php, simpletest, testing
- Language: PHP
- Homepage: http://simpletest.org
- Size: 5.08 MB
- Stars: 149
- Watchers: 28
- Forks: 47
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
SimpleTest [![Build Status](https://github.com/simpletest/simpletest/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/simpletest/simpletest/actions/workflows/ci.yml) [![Build Status by Version](http://github-actions.40ants.com/simpletest/simpletest/matrix.svg)](https://github.com/simpletest/simpletest/actions/workflows/ci.yml) [![Latest Stable Version](https://img.shields.io/packagist/v/simpletest/simpletest.svg?style=flat-square)](https://packagist.org/packages/simpletest/simpletest) [![Total Downloads](https://img.shields.io/packagist/dt/simpletest/simpletest.svg?style=flat-square)](https://packagist.org/packages/simpletest/simpletest)
==========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](https://github.com/simpletest/simpletest/issues).
### Community
Feel free to [ask a new question on Stack Overflow](https://stackoverflow.com/questions/ask?tags=simpletest+php) or at [Github Issues](https://github.com/simpletest/simpletest/issues).
StackOverflow offers also a good collection of [SimpleTest related questions](https://stackoverflow.com/questions/tagged/simpletest).
### Requirements
PHP 7.1+
### Authors
- Marcus Baker
- Jason Sweat
- Travis Swicegood
- Perrick Penet
- Edward Z. Yang
- Jens A. Koch
- [Contributors on Github](https://github.com/simpletest/simpletest/graphs/contributors)### 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