conan-io / conan-io/docs

[2.0] Document the changed model of providing options to test_package

Open
#3,033 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

As per https://github.com/conan-io/conan/issues/13241, options on the package-under-test can no longer be set in `configure()` or passed as an option to `requires()` or `test_requires()` (as per #3026). They need to be passed via the command line or profile for consistency of the interface.

This would be useful to document so that people understand how they can test a variety of package configurations effectively. The previous method might have been to write a number of test_package's, however now it can be done just by varying profile/cli invocation.

See details in #13241 for more details.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read issues #13241 and #3026 first to understand the changed test_package options behavior. Locate the documentation section covering test_package configuration, then explain how profiles or command-line invocation vary package configurations and clarify that options are no longer set through configure(), requires(), or test_requires().

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.