Feature Request: BOOST_DATA_TEST_CASE with descriptive identifiers
@raffienficiaud is already working on this.
Since Feb 27, 2022.
Assessment
This issue has not been assessed yet.
Description
would it be possible for there to exist a variant of BOOST_DATA_TEST_CASE where something like
BOOST_DATA_TEST_CASE(my_data_test_case,
boost::unit_test::data::make({EMyEnum::val1, EMyEnum::val2, EMyEnum::val3}),
values)
{
//Do Something
}
Could be identified using a syntax like
my_data_test_case/val1
my_data_test_case/val2
my_data_test_case/val3
or
my_data_test_case(val1)
my_data_test_case(val2)
my_data_test_case(val3)
instead of
my_data_test_case/_0
my_data_test_case/_1
my_data_test_case/_2
within the output from the test suite where val1, val2, val3, etc. represent the value produced by the given member of the dataset when using the insertion operator?
- Dominant language
- C++
- Stars
- 213
- Forks
- 149
- Avg merge
- 18h 17m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/test
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Conversion Warning with GCC15 when using operator<< within custom failure message and -WConversion Open
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·