insightsengineering / insightsengineering/teal.modules.general
Improve unit tests runtime
- Dominant language
- R
- Stars
- 16
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
In the last release, our submission was rejected because the unit tests takes > 10 mins to run.
https://github.com/insightsengineering/teal.modules.general/pull/1009#issuecomment-5154062028
As a compromise for submission, I set higher testing_depth for the offender on [this](https://github.com/insightsengineering/teal.modules.general/pull/1009/commits/88f24b7530016879ff3cc05e08b70ec8e2e3832c) commit.
Please review and improve our unit tests to that it can be run under 10 mins.
Contributor guide
Research direction
Start by reviewing the testing discussion in pull request #1009 and commit 88f24b7530016879ff3cc05e08b70ec8e2e3832c, including the higher testing_depth setting for the offender. Measure the current unit-test runtime, identify the slow tests or configuration, and confirm that the suite completes in under 10 minutes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100