Skip to content
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

[feature] Support [test_requires] in conanfile.txt in Conan v2 (and v1?) #12688

Closed
1 task done
leha-bot opened this issue Dec 11, 2022 · 2 comments
Closed
1 task done
Assignees
Milestone

Comments

@leha-bot
Copy link

I think that we should add support for [test_requires] into the conanfile.txt for uniformity with conanfile.py's self.test_requires().

@memsharded
Copy link
Member

test_requires in conanfile.txt are basically exactly the same as requires, as the only difference is "visibility" and that doesn't affect if there are no downstream consumers, and by definition, a conanfile.txt cannot have consumers because it cannot create a pattern.

Asking @czoido for further feedback, if we should add this as syntactic sugar

@memsharded
Copy link
Member

Implemented in #12699, for 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants