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
Expose ArgumentParserTestHelpers #491
Comments
My understanding is that it is not possible with the current setup of this project. There have been similar issues from time to time like this one #255. I remember seeing @natecook1000 commenting they're not doing it because they cannot promise it will be maintained appropriately (but I couldn't find that particular issue so I'm not sure). On the other hand, #255 is labeled as enhancement so maybe they are thinking of doing this. cc @natecook1000 @rauhul Any clarification is much appreciated! |
@KS1019 thank you for the details!
I think I found this issue here: #303 Understood, I agree that guaranteeing maintainability is not really high priority for test helpers. |
@MartinP7r I'm not too sure but you might want to modify |
Oh, wow. Thanks so much. |
👋🏻 We're definitely open to making @MartinP7r, what parts are you finding useful? |
Thank you for your time @natecook1000 👋🏼
|
Sorry if this is a very naive question or what I'm trying to do is already possible with the current package setup.
I find the
ArgumentParserTestHelpers
target very helpful and it would be great to be able to add it as a dependency for the client'stestTarget
.As a test, I tried to simply add a product target for it in a fork.
However, I keep getting the following error:
product 'ArgumentParserTestHelpers' required by package 'MyApp' target 'MayAppTests' not found in package 'swift-argument-parser'.
(Here is a sample reproducing this error)
Best regards,
Martin
The text was updated successfully, but these errors were encountered: