A comprehensive curated list of PHP test automation frameworks, tools, libraries and software to help software engineers easily bootstrap test automation on PHP. Sponsored by http://sdclabs.com
Table of content:
- xUnit frameworks
- TDD \ ATTD \ BDD
- Code Analysis
- Web UI test automation
- Mobile test automation
- Windows UI test automation
- Unix \ Linux UI test automation
- MacOS UI test automation
- Virtual environments
- Performance & stress & load
- Security checking
- Continuous Integration
- Reporting
- Documentation generation
- Editors, IDE and consoles
- Useful libs
Also:
- PHPUnit - Most known testing frameworks based on xUnit architecture. Full line coverage, pathc coverage, extended reports and even hhvm are pre-built.
- Atoum - Lightweight PHP unit testing framework with simple report generation.
- Infection - AST based PHP Mutation Testing Framework.
- php-vfs - Virtual filesystem provider
- adlawson/vfs - Another virtual filesystem provider
- vfsStream - A stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.
- Mockery - Objects mocking and method call assertions framework
- Prophecy - Object mocking framework for PHP.
- Phake - Mock php objects, test doubles and method stubs, inspired by Mockito for Java.
- Codeception's AspectMock - AspectMock allows you to stub and mock practically anything in your PHP code.
- BDD
- Behat - BDD framework for PHP to help you test business expectations.
- Codeception - BDD-styled PHP testing framework; Selenium WebDriver integration, Symfony2, Laravel4, Yii, Phalcon, Zend Framework support; PageObjects and StepObjects included, BDD-style readable tests, powered by PHPUnit, API testing: REST,SOAP,XML-RPC; Facebook API testing; Data Cleanup; HTML, XML, TAP, JSON reports; CodeCoverage and Remote CodeCoverage; Parallel Execution, etc
- phpspec - Tool which can help you write clean and working PHP code using behaviour driven development or BDD.
- PHP Mess Detector - Static analysis tool that finds long method names, methods with excessive cyclomatic complexity, etc.
- PHP Code Sniffer - Standard/convention violation checker
- PHP Dead Code Detector - Unused code locator
- PHP DocBlock Checker - Simple tool that checks focblock presence
- PHP Parallel Lint - Simple lint checker
- PDepend - Complex metrics analyzer
- PHP Lines Of Code - Project sizing analyzer
- Facebook php-webdriver - Facebook supported PHP webdriver bindings
- Element-34 php-webdriver - Fork of Facebook PHP webdriver with WebDriverWait implementation and available via PEAR
- BeHat's Mink - An open source browser controller/emulator for web applications
- saunter.php - Selenium Page Objects implementation in PHP
- Mailosaur - PHP client for email testing/automation via Mailosaur.
- SensioLabs Security Checker - Command line tool that checks if your application uses dependencies with known security vulnerabilities. It uses the SensioLabs Security Check Web service and the Security Advisories Database.
- PHPCI - Free and open source continuous integration tool specifically designed for PHP.
- PHP Censor - Open source self-hosted continuous integration server for PHP projects.
- Jenkins PHP project template - The goal of this project is to provide a standard template for Jenkins jobs for PHP projects.
- Sismo - Unlike more "advanced" Continuous Integration Servers (like Jenkins), Sismo does not try to do more than getting your code, running your tests, and send you notifications.
- Testomat.io - test management and reporting system for php automated tests
- ReportPortal.io - BeHat powerfull results management and analytics for test automation reports. Powered with Machine Learning. Real-time integration and reports, visualization of trends and statistics, custom dashboards and widgets, gives you real visibility into the state of test automation. Integral part of CI/CD with TA and Continous Testing. Server-client application, can be used for any type of automated tests. Free and OpenSourced, GitHub link.
- Allure Framework - Allure Framework is a framework that provides rich and beautiful reports with extended possibilities like screenshot capturing. Allure provides plugins for Codeception and PHPUnit.
- PhpStorm - PHP IDE with highlighting, code analyzer, debugging features, all kinds of repositories and many others.
- ZendStudio - PHP IDE from PHP creators' company, multiply features + different js frameworks supports.
- NetBeans - Open source free PHP IDE.
- Aptana - Another free IDE.
- PHP CS Fixer - tool for automatic convention violations correction
Where to discover new libraries, information, tools, etc.
- automated-testing.info - Test automation community
- atinfo.github.io/at.info-knowledge-base - Knowledge base for test automation examples on different tools and technologies
- PHP QA Toolchain - website with reference of most frequently used QA tools
- Testomat.io - test management and reporting system for php automated tests
-
general purpose test automation tools Also we are supporting and looking for contribution for project:
Your contributions are always welcome!