pestphp /
pest
Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
91/100 healthLoading repository data…
elhajuojy / repository
PEST is a PHP testing framework that provides asimple way to write tests for your PHP code. It is designed to be easy to use, fast, and flexible, so you can quickly write tests and get fast feedback on the state of your code.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
PEST is a PHP testing framework that provides a simple way to write tests for your PHP code. It is designed to be easy to use, fast, and flexible, so you can quickly write tests and get fast feedback on the state of your code.
PEST tests are written in PHP and use a fluent interface to make it easy to write tests. The framework provides a number of built-in assertions that you can use to test your code's behavior. For example, you can test whether a function returns the expected result, whether an exception is thrown under certain conditions, or whether two values are equal.
PEST also provides a number of additional features to make testing easier, such as test suites, data providers, and the ability to run tests in parallel.
To get started with PEST, you will need to install the library using composer. Once you have installed PEST, you can write your first test by creating a new PHP file and using the TestSuite class to write your tests.
Here's a simple example of how you can use PEST to test a PHP function:
use Pest\TestSuite;
TestSuite::test("test function returns expected value", function () {
$result = your_function_to_test();
expect($result)->toBe("expected value");
});
Selected from shared topics, language and repository description—not editorial ratings.
pestphp /
Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
91/100 healthvip-pana /
The project is a demo platform that allows users to view related trips and tours. Implements an authentication system with two roles: Admin and Editor. Users have access to specific features based on their assigned role.
41/100 healthprojectista /
Scaffold a new php package using projectista. This repository is part of projectista.
projectista /
Scaffold a new laravel application using projectista. This repository is part of projectista.
41/100 healthaichingm /
Pest is a micro unit testing framework for php applications
37/100 healthneveldo /
Data-Pesticides is a web application based on Silex PHP microframework that provides a full-featured data-visualization about pesticides concentrations in France.
31/100 health