Skip to content

Support "Short Term Cap Gain Reinvest" and "Long Term Cap Gain Reinvest" - #25

Merged
edwagner merged 3 commits into
mainfrom
reorganize-tests
Dec 15, 2025
Merged

Support "Short Term Cap Gain Reinvest" and "Long Term Cap Gain Reinvest"#25
edwagner merged 3 commits into
mainfrom
reorganize-tests

Conversation

@edwagner

Copy link
Copy Markdown
Owner

Also reorganize the tests so that it is easier to see which test corresponds to which statement line.

This feature was originally submitted by rtsai #24, but in order to refactor the tests first I created a separate PR.

Order the tests to align with the statement so that it is easier
to figure out what part of the statement a test is verifying.
There were a couple of scenarios that didn't have a test.
Despite the name, these are not the actual reinvestment transactions
but rather the income transaction.
These usually come paired with a separate "Reinvest Shares" transaction
that represents the corresponding purchase.
@edwagner
edwagner merged commit ac0d28c into main Dec 15, 2025
3 checks passed
@edwagner
edwagner deleted the reorganize-tests branch December 15, 2025 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant