https://github.com/wallacemaxters/testudo
Testudo is a code generator for common testcases using PHPUnit in Laravel
https://github.com/wallacemaxters/testudo
code-generation laravel phpunit test
Last synced: 3 months ago
JSON representation
Testudo is a code generator for common testcases using PHPUnit in Laravel
- Host: GitHub
- URL: https://github.com/wallacemaxters/testudo
- Owner: wallacemaxters
- Created: 2023-08-27T02:45:20.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-25T12:42:24.000Z (almost 2 years ago)
- Last Synced: 2025-02-13T19:18:00.803Z (5 months ago)
- Topics: code-generation, laravel, phpunit, test
- Language: PHP
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Testudo
The Testudo (joke with "big forehead" in portuguese) is a code generator for common TestCases in Laravel.
## Install
```bash
composer require wallacemaxters/testudo
```## Example
```bash
php artisan testudo:make-model-test Post
```This command will be generate the file `tests/Unit/Models/PostTest.php`.
## Features
- Generate tests for your Model relationships
- Generate tests for your Model appended attributes
- Generate test for your Model primaryKey name
- Generate test for your table name## Future
- Generate common tests for controllers, based on defined routes.