Enable running unittests safely in parallel by giving them independent workspaces
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 160
- Forks
- 69
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 15
Description
(likely low priority)
Is your feature request related to a problem? Please describe.
Currently unit tests take ~1hr to run. Running in parallel is risky because multiple scripts recompile the same binary with different params and thus could potentially conflict.
Additionally, this risks previous tests polluting future tests.
Describe the solution you'd like
First idea that comes to mind is giving each script a separate directory where its stan files and binaries live.
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
No specific files or tests are named. Start by tracing the unit-test scripts and where they compile Stan files and binaries; determine how workspace paths are selected. Done means parallel unit tests use independent directories without recompilation conflicts or state leaking between tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- build-system, testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100