Skip to content
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

[make:controller] add ability to create controller with tests #1603

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

jrushlow
Copy link
Collaborator

@jrushlow jrushlow commented Sep 26, 2024

This feature is experimental - generated code is likely to change significantly between point releases.

Adds the ability to pass --with-tests to make:controller and maker will generate a new PHPUnit test tailored for the specific functionality of that maker. If --with-tests is not passed as an argument, MakerBundle will ask the user Do you want to generate PHPUnit tests? [Experimental].

@jrushlow jrushlow added the Feature New Feature label Sep 26, 2024
@jrushlow jrushlow added this to the v1.62.0 milestone Sep 26, 2024
@jrushlow jrushlow merged commit de15602 into symfony:main Sep 27, 2024
9 checks passed
@jrushlow jrushlow deleted the feature/tests/make-controller branch September 27, 2024 03:31
@jrushlow jrushlow mentioned this pull request Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant