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

Initial work on the create:test command #824

Merged
merged 8 commits into from
Nov 29, 2023
Merged

Conversation

LukeTowers
Copy link
Member

No description provided.

@what-the-diff
Copy link

what-the-diff bot commented Jan 24, 2023

  • Added a new command to create tests
  • Updated the plugin base class constructor so it can be used in unit testing
  • Fixed an issue with overwriting existing files when creating jobs and models (--s|sync)
  • Added support for Pest PHP as test framework, including stub generation and phpunit configuration file creation if needed

@github-actions
Copy link

This pull request will be closed and archived in 3 days, as there has been no activity in this pull request for the last 6 months.
If you intend to continue working on this pull request, please respond within 3 days.
If this pull request is critical for your business, please reach out to us at [email protected].

@github-actions github-actions bot added the stale Issues/PRs that have had no activity and may be archived label Jul 26, 2023
@LukeTowers LukeTowers removed the stale Issues/PRs that have had no activity and may be archived label Jul 26, 2023
LukeTowers and others added 4 commits November 29, 2023 02:46
Replaces the make:test command from Laravel.

Would be nice to add autocomplete support for the "test" argument to put in the path to any class in the plugin to automatically stub out the test based on information about that class and generate the test file in a matching relative path under the tests folder but one thing at a time for now.
Adds initial support for Pest

# Conflicts:
#	modules/system/console/CreateJob.php
#	modules/system/console/CreateTest.php
#	modules/system/console/scaffold/test/test.stub
#	modules/system/console/scaffold/test/test.unit.stub
… into wip/create-test-command

# Conflicts:
#	modules/system/console/CreateJob.php
@LukeTowers LukeTowers marked this pull request as ready for review November 29, 2023 20:34
@LukeTowers LukeTowers added Status: Completed enhancement PRs that implement a new feature or substantial change labels Nov 29, 2023
@LukeTowers LukeTowers added this to the v1.2.4 milestone Nov 29, 2023
@LukeTowers LukeTowers merged commit b4041b5 into develop Nov 29, 2023
1 check passed
@LukeTowers LukeTowers deleted the wip/create-test-command branch November 29, 2023 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement PRs that implement a new feature or substantial change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant