Closed lasuk closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Flag | Coverage Δ | |
---|---|---|
unittests | 82.99% <100.00%> (+13.54%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Files with missing lines | Coverage Δ | |
---|---|---|
pyledger/ledger_engine.py | 74.49% <100.00%> (+14.65%) |
:arrow_up: |
pyledger/standalone_ledger.py | 77.64% <100.00%> (+38.21%) |
:arrow_up: |
Add a test to ensure that account balances are correctly calculated for a complete ledger system with tax and currency revaluations.
This first version of integration test is limited in scope, but provides sufficient coverage to ensure that the upcoming refactoring of the StandaloneLedger class does not break the functionality.
My goal was to quickly set a solid foundation for the upcoming refactoring step. Test coverage can be extended any time, and the test may be relocated to a different unit in a later version.