-
-
Notifications
You must be signed in to change notification settings - Fork 666
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
ginkgo CLI cannot run pre-compiled test package on windows #529
Comments
It looks like the heart of the problem lies here: https://github.com/onsi/ginkgo/blob/master/ginkgo/testsuite/test_suite.go#L29-L35 Ginkgo assumes that the precompiled test binary name must end with Neither is true on windows. I tried to remove these checks from the code and apparently it fixes the issue, at least partially. I suppose it is possible to fix ginkgo to accept binary names ending with |
I'm working through the backlog of old Ginkgo issues - apologies as this issue is probably stale now. I think you've honed in on why this is happening - I'll fix it and ensure it works in the v2 work I'm doing. |
Reproduce
Compile ginkgo for windows:
Precompile test package for windows:
Try running the test binary on windows:
It works as expected.
Try running the test binary via ginkgo CLI:
Test suite is not found and not run
The text was updated successfully, but these errors were encountered: