You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a scenario in my mind let's see how it works :
I wanna write TDD tests for a book store management.
Let's start with the Book entity & CRUD
I start by creating a BookTest and try to store a new book with POST method. $this->get(route('books.store'), [ 'name' => 'Programming', 'publisher' => 'Laravel', 'author' => 'Taylor Outwell', ]);
Now I start to enter CRUD generator command for my book, when the command executes, it will go through its tests and if there is an available test, it will look for POST method and the data we are passing to that route, it will collect the data we are passing and replace it to Form Request & Model fillables property.
Now we just need to add validation and most of the work is done by the command generator...
The text was updated successfully, but these errors were encountered:
Hi @Mdhesari, currently I have no time to try to dig it further to start implementing it. If you wailing to write the plan in more detail, or even submit a pull request, that will be very helpful. We can review them together.
Meanwhile, I will keep this issue open as a feature suggestion.
I have a scenario in my mind let's see how it works :
$this->get(route('books.store'), [ 'name' => 'Programming', 'publisher' => 'Laravel', 'author' => 'Taylor Outwell', ]);
Now we just need to add validation and most of the work is done by the command generator...
The text was updated successfully, but these errors were encountered: