-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Wrong path taken when using packwerk #36
Comments
Hey @Simonpedro Thanks for open this issue. Interesting use case, I've never see this scene. So, instead In theory it will be easy fix it, but I'll create a some tests to cover other prefix like your. If you free feel, open a PR with this change and I'll accept as soon as. |
@Simonpedro Have you had a chance to look into this? I'm running into the same problem. |
@traviskroberts I started looking into the code but couldn't find the time to work on it. You're more than welcome to give it a try if you'd like. Otherwise I'll see if I can invest some time next week. |
Ok guys, I think that I'll into the problem today, so I would like to you that waiting for a couple time. I'll fix them soon. |
Hey @Simonpedro do you use Do you se devcontainer? I'm imagine that you use uri like Given that, packwerk is a folder inside root devcontainer and packs maybe be project folder, is that right? |
Hi @thadeu, I'm using VS Code locally. The I noticed you opened a PR for this! 🙇 |
Ok @Simonpedro I'll run my changes on your file path in order to check if the change will fix this issue. |
Hi all! I am just running into this problem. We have tests in two places:
Is there a way to configure this extension to simply run the test file that's open, relative to the root directory? Can I turn off the guessing of the folder entirely? |
@alexevanczuk I've a PR working in progress to resolve this issue. I hope next week to release it. |
In our application we have packs and sometimes we colocate specs inside them.
For example, we have the feature spec
packs/test_results/spec/features/review_results_spec.rb
, but when running it with the extension it tries to executebundle exec rspec --color spec/features/review_results_spec.rb
, omitting thepacks/test_results/
part.I'l be happy to work on this issue if you think it's a legit one. Thanks!
The text was updated successfully, but these errors were encountered: