-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model TestCase fixtures #427
Comments
Let's compromise: At least only the own model and direct relations. |
So I would just delete lines from https://github.com/cakephp/bake/blob/master/src/Shell/Task/TestTask.php#L446 to the end of the method, but I think you would just not call the |
👍 to this if we're going to make a change. |
@LubosRemplik Give it a try. |
When you bake Model Table Test, it bakes
$fixtures
property with all possible fixtures depending on associations. Sometimes there are too many and I think by default it could bake just fixture for the table itself, for example forPostsTableTest
it would bakeI am thinking about this because once I bake something, I have to remove fixtures otherwise phpunit test fails
What do you think?
The text was updated successfully, but these errors were encountered: