We need more thorough test coverage

Open
#58 10 comments 0 reactions 0 assignees View on GitHub

@Anurag42-git is already working on this.

Since Feb 7, 2026.

  • #138 by @Anurag42-git — open
  • #140 by @MukundaKatta — open
  • #155 by @Eshan-kumar-jain — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
numpy, python
Domain
testing

Research direction

Start in numpy_financial/tests/test_financial.py and review the existing tests for each function to identify sparse coverage and missing edge cases. Expand the test cases across the functions in numpy-financial, with completion marked by thorough edge-case coverage in that test file.

Written by the indexing model from the issue text.

Description

good first issue help wanted

Our tests for many of the functions are very sparse, this should be updated to include more tests for each of the functions in numpy-financial. In particular, I think we need more thorough testing of edge cases.

The test can be modified by editing test_financial.py.

Dominant language
Python
Stars
416
Forks
112
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from numpy/numpy-financial

All issues in numpy/numpy-financial

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.