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

Update tests to use CommandTestCase and update coverage #26

Closed
AlexSkrypnyk opened this issue Oct 9, 2023 · 1 comment · Fixed by #32
Closed

Update tests to use CommandTestCase and update coverage #26

AlexSkrypnyk opened this issue Oct 9, 2023 · 1 comment · Fixed by #32

Comments

@AlexSkrypnyk
Copy link
Owner

Functional tests are using outdated method to test the command. This method does not allow to get the correct coverage.

Need to update tests to use https://github.com/AlexSkrypnyk/scaffold/blob/main/tests/phpunit/Unit/Command/CommandTestCase.php

@AlexSkrypnyk
Copy link
Owner Author

Also, need to update the tests's namespace to follow namespace YourNamespace\App\Tests\Unit\Command;

And also need to move the command into src/Command dir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant