nutgram
Pest
Our great sponsors
nutgram | Pest | |
---|---|---|
2 | 16 | |
140 | 4,853 | |
2.1% | 7.2% | |
9.5 | 9.2 | |
5 days ago | 17 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nutgram
Pest
-
Laravel 9 x CRUD with Tests
Stay tuned to Part 2 Testing using PHP Pest
-
How do you test your code ?
Once you're comfortable with PHPUnit (Unit Testing and TDD) the next step is BDD (Behaviour-Driven Development). For this Behat is a good starting point. But my favourite was always Codeception because it has PHPUnit included and does everything (unit tests, functional test, integration tests). The only awkward part ro both of these is installing selenium (at least on windows) Pest is also becoming very popular among the Laravel community, but it will work with anything https://pestphp.com/
- Best practice concerning dev environment with building a Laravel package
-
Configure your application using PHP dotenv
These tests are written with PestPHP.
-
My first Laravel package!
Thank you, I really appreciate it. I tried to cover all my code with tests and also tried my best to write valid readable tests. (Pest made the whole process enjoyable also.)
-
Symfony Station Communiqué - 04 March 2022. A Look at Symfony and PHP news!
Testing in Symfony is fairly easy using the Symfony/PHPUnit-bridge package. You’ll write classes containing your tests and run them, no problem. But creating the classes adds a lot of boilerplate code. What if I told you it’s possible to get rid of a lot of boilerplate code and have a nice and elegant way of writing your tests as if you’re writing an English sentence? This is where Pest comes in!”
-
Pest: a PHP testing framework that goes above and beyond PHPUnit
When building third-party APIs, it’s important to test your code in every runtime scenario you’ve seen or can foresee. For this, a robust and easy to use & maintain testing framework is a must. As PHP developers, we relied heavily on PHPUnit, but we switched over to the Pest Testing Framework, which simplified and reduced our large library of testing code.
-
10 Laravel packages that might save your day
2. pestphp/pest
-
Statistics with PHP
The package is full tested with Pest an elegant PHP Testing Framework. Now I just relesased the version 0.1.4, with full converage (100%).
- Pest – An Elegant PHP Testing Framework
What are some alternatives?
php-mysql-engine - A MySQL engine written in pure PHP
jest - Delightful JavaScript Testing.
Laminas API Tool Skeleton - Skeleton Application for Laminas API Tools
Infection - PHP Mutation Testing library
awesome-php - A curated list of amazingly awesome PHP libraries, resources and shiny things.
Codeception - Full-stack testing PHP framework
Laravel-Zero - A PHP framework for console artisans
wave - Wave - The Software as a Service Starter Kit, designed to help you build the SAAS of your dreams 🚀 💰
PHP-CSS-Parser - A Parser for CSS Files written in PHP. Allows extraction of CSS files into a data structure, manipulation of said structure and output as (optimized) CSS
gh-actions-yaml-generator - Ghygen is a GitHub Actions configurator for your PHP / Laravel project.
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
jigsaw - Simple static sites with Laravel’s Blade.