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.
- 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
- 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
- PHPCI - Free and open source continuous integration tool specifically designed for PHP.
- Jenkins PHP project template - The goal of this project is to provide a standard template for Jenkins jobs for PHP projects.
- 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
- python test automation
- java test automation
- ruby test automation
- c# test automation
- php test automation
- javascript test automation
- test automation and software testing as services
- mobile, tablet and tv test automation
- general purpose test automation tools
Also we are supporting and looking for contribution for project:
Your contributions are always welcome!