Test time funcs
Open
domain:tests
type:investigate
- Dominant language
- C++
- Stars
- 26
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Right now there's one test for each of the C++ time funcs. They are arguably undertested, and the C time funcs are not tested at all.
How should the C versions even be tested, if they call `time()` and `timespec_get()`?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the existing one-test-per-C++-time-function coverage and the untested C time functions in the test suite. Determine how calls to time() and timespec_get() can be tested reliably; done means both the C++ and C variants have meaningful coverage without depending on unstable wall-clock results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100