BackwardCompatibilityCheck
ParaTest
BackwardCompatibilityCheck | ParaTest | |
---|---|---|
3 | 5 | |
565 | 2,261 | |
1.1% | 0.4% | |
8.3 | 8.5 | |
3 days ago | 10 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.
BackwardCompatibilityCheck
-
Some thoughts on the Interface Default Methods RFC
It's also not a big risk because if it does fail it will fail every time you just load the class that implements the interface so probably your while site will error. If you do cursory testing of the new version before you deploy it you can find the problem quickly before it becomes a problem. You can also do static analysis checks on your code to make sure its compatible with the libraries you use including when you upgrade them. And library maintainers can run Roave/BackwardCompatibilityCheck/ to make sure they don't accidentally introduce a new interface method without declaring a new major version.
-
PHP libraries and tools
roave/backward-compatibility-check: Tool to compare two revisions of a class API to check for BC breaks
-
PHP 8.1 is getting Enums, and here is an article about Enums in depth
btw when I talk about breaking BC I don't really mean not compatible with something stored in the DB using a previous version of the code. I mean not compatible with other PHP code written to work with a previous version of the code. It's the sort of issue https://github.com/Roave/BackwardCompatibilityCheck exists to detect, and for which semver says you have to increase the major version number on a library.
ParaTest
-
laravel parallel testing doesnt work
I haven’t tried it with the MySQL-connection, I use the in-memory version, but paratest (https://github.com/paratestphp/paratest) has never failed me. Not an answer to your question, but an answer to your problem I guess.
-
Parallel tests and the new M1 Pro/Max
Pretty sure it has always supported multiple cores, judging by the documentation of the underlying library :
-
Best Tools 🛠️ for Different Coding Workflows
paratest
-
PHP libraries and tools
Paratest: Parallel testing for PHPUnit
-
Looking for a book to help with writing tests
Once you have lots of tests, use https://github.com/paratestphp/paratest with this I can run 3100 tests in about 3 seconds (on a 4core box using 16 threads).
What are some alternatives?
Spout - Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
Codeception - Full-stack testing PHP framework
psalm-plugin-phpunit - A PHPUnit plugin for Psalm
Behat - BDD in PHP
psalm-plugin-doctrine - Stubs to let Psalm understand Doctrine better
PHPT - The PHP Interpreter
local-php-security-checker - PHP security vulnerabilities checker
Kahlan - :heavy_check_mark: PHP Test Framework for Freedom, Truth, and Justice
SecurityAdvisories - :closed_lock_with_key: Security advisories as a simple composer exclusion list, updated daily
no-leaks - :potable_water: PHPUnit Plugin for detecting Memory Leaks in code and tests
Mockery - Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).