Download the PHP package vledermaus/phpunit-commit-reminder without Composer
On this page you can find all versions of the php package vledermaus/phpunit-commit-reminder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vledermaus/phpunit-commit-reminder
More information about vledermaus/phpunit-commit-reminder
Files in vledermaus/phpunit-commit-reminder
Package phpunit-commit-reminder
Short Description phpunit-commit-reminder: A PHPUnit extension that reminds developers to commit code changes after successful tests, promoting code stability.
License MIT
Informations about the package phpunit-commit-reminder
PHPUnit Commit Reminder
PHPUnit Commit Reminder is a convenient extension that streamlines your workflow by gently nudging you to commit your changes after a successful test run. It's particularly handy if you follow the Test-Driven Development (TDD) approach, ensuring that your codebase stays well-organized and up-to-date.
This extension can even handle the committing and pushing of your changes for you, saving you time and keeping your version control in sync.
Installation
You can easily integrate PHPUnit Commit Reminder into your project by using Composer. Here's how to do it:
Configuration
To activate the extension, add it to your phpunit.xml file as an extension. This configuration ensures that PHPUnit Commit Reminder runs automatically after your tests. Here's an example of how to do this:
Usage
Using PHPUnit Commit Reminder is straightforward. Simply run your PHPUnit tests as you usually do:
Or, with laravel:
After the tests complete successfully, and there are uncommitted changes in your working directory, the extension will prompt you to commit them. This helps you maintain a clean and organized codebase. Here's an example of the prompt:
With PHPUnit Commit Reminder, you can stay focused on your code and let it handle the version control, making your workflow smoother and more efficient.
Give it a try and enjoy a more organized and streamlined development process!
Contributing
Contributions are welcome! If you have suggestions, bug reports, or want to contribute to the project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes.
- Submit a pull request.