processing / processing/processing-contributions

write unit tests for functions in scripts/utils.py

Open
#81 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8
Forks
8
Avg merge
4d 22h
Merged PRs (30d)
3

Description

there are three utility functions that could be tested with unit tests.
Use mocks and table tests to test edge cases.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with scripts/utils.py and identify the three utility functions mentioned in the issue. Add unit tests using mocks and table tests for their edge cases; the work is done when all three functions have focused coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.