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
, in which the package that a particular failure occurs in gets pulled out of the test JSON, incorrectly in this case.
I'm not sure what the right fix is. Naively, you could just stop setting pkg: tc.Package, and that would fall back to the set of packages set on the command line and would probably fix my issue. However, it might cause issues in cases where you have multiple tests with the same name across the list of packages. You'd end up rerunning all of them instead of just rerunning that test within an individual package. I'll leave it up to you to decide whether that's worth it.
Right now my automation is trying to use --rerun-fails but it can't, not without restructuring to put each source file into its own subdirectory to work around this issue.
The text was updated successfully, but these errors were encountered:
The error message is an opaque
package command-line-arguments is not in std
. Here's a simple repro:It looks to me like the error comes from
gotestsum/cmd/rerunfails.go
Line 33 in e9677fb
I'm not sure what the right fix is. Naively, you could just stop setting
pkg: tc.Package,
and that would fall back to the set of packages set on the command line and would probably fix my issue. However, it might cause issues in cases where you have multiple tests with the same name across the list of packages. You'd end up rerunning all of them instead of just rerunning that test within an individual package. I'll leave it up to you to decide whether that's worth it.Right now my automation is trying to use
--rerun-fails
but it can't, not without restructuring to put each source file into its own subdirectory to work around this issue.The text was updated successfully, but these errors were encountered: