processing / processing/processing-contributions
unit tests for scripts/to_source_jsons.py
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8
- Forks
- 8
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 3
Description
There is one function in this script to be tested. It could be modularized further to enable unit tests.
Use mocks and table tests to test edge cases.
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.
Research direction
Start by reading scripts/to_source_jsons.py and identify its single function and the cases it handles. Modularize only as needed for unit testing, then use mocks and table tests to cover the relevant edge cases; the work is done when those tests exercise the function's behavior reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100