-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat: spark make:test
creates test files in /tests/
directory
#8374
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
Conversation
I said it elsewhere but I'll repeat it here for context. I'm not a fan of forcing tests into the As this PR is written the following makes no sense to me:
As written I cannot agree to this PR. I could accept a compromise where the PR works as written ONLY when the filepath provided contains a namespace (identified by the presence of a backslash) or has the namespace forcibly defined. But when used without a namespace then it should leave the |
I agree with lonnieezell - forcing the |
Okay, then for example, what is the test classname for |
IMO if the project is small it could be just |
@michalsn In that case, the current implementation (4.5) is fine because it forces the test class namespace to Also, now we provide sample test files in appstarter. |
@kenjis I have nothing against adding options to customize things. The current tests are fine to me. They are supposed to showcase how we can test different areas of our application and they do the job, they're nicely grouped and easy to understand. |
Go to #8388 |
Description
tests/app
for namespaceApp
tests/system
for namespaceCodeIgniter
make:test
creates test files in/tests/
directoryE.g.,
Checklist: