You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
It's often useful to run buffalo test against a single sub-package. For example, I may just want to fix a bug in one of my grifts, and in that case, I likely won't be interested in running my actions tests while I'm doing that edit-test work.
Proposal
I am proposing that the buffalo test command treats the first argument differently. Currently, buffalo test ./grifts/... prepends ./grifts/... to the list of packages that it passes to the go test command.
My proposal is to make the first argument to buffalo test be the only package passed to the go test command.
Instead of this behavior:
$ buffalo test ./mypkgdropped database mydbcreated database mydbloaded schema for mydbgo test -p 1 ./mypkg/... github.com/arschles/something/actions github.com/arschles/something/grifts github.com/arschles/something/mypkg
I'm proposing this behavior:
$ buffalo test ./mypkgdropped database mydbcreated database mydbloaded schema for mydbgo test -p 1 ./mypkg/...
This change would bring buffalo test a little bit more in line with the behavior of go test.
The text was updated successfully, but these errors were encountered:
@arschles I like this proposal and think the proposed behavior makes much more sense than current one, I'm curious to know if there was a reason to do it the way we currently do it or we just didn't consider this behavior.
@arschles are you willing to work on this PR? @markbates thoughts on this one?
It's often useful to run
buffalo test
against a single sub-package. For example, I may just want to fix a bug in one of my grifts, and in that case, I likely won't be interested in running my actions tests while I'm doing that edit-test work.Proposal
I am proposing that the
buffalo test
command treats the first argument differently. Currently,buffalo test ./grifts/...
prepends./grifts/...
to the list of packages that it passes to thego test
command.My proposal is to make the first argument to
buffalo test
be the only package passed to thego test
command.Instead of this behavior:
I'm proposing this behavior:
This change would bring
buffalo test
a little bit more in line with the behavior ofgo test
.The text was updated successfully, but these errors were encountered: