ctest: support variadics in function pointers
Open
Nobody has claimed this yet.
ctest
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 1.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 69
Description
ctest should be able to generate tests for functions that make use of varidics. See https://github.com/JohnTitor/ctest2/issues/58 for context.
Edit: The above works since https://github.com/rust-lang/libc/pull/5385, but we should ideallly cover variadics in function pointer aliases and struct/union fields as well.
Contributor guide
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.
Research direction
Start by reading ctest's existing handling of variadic functions and the linked ctest2 issue for context. Extend coverage to variadics in function pointer aliases and struct or union fields, then verify that ctest generates valid tests for those cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100