Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code improvement and feature additions #123

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

iyanchak
Copy link

@iyanchak iyanchak commented Jun 4, 2017

High level summary:

  1. Restructured code to use namespaces better.
  2. Fixed ignored test cases and renamed other according to Java spec.
  3. Improved code coverage.
  4. Fixed code (missing synchronization on date provider, incorrect get first customer name function, switched to StringBuider and etc).
  5. Introduced enum for account type.
  6. Introduced BusinessException hierarchy and added boundary scenario test cases for them.
  7. Added unit tests to cover different scenarios for above feature.
  8. Accruals are done on 365 days basis (i.e. leap years are not considered).
  9. Added Java doc for all public methods.
  10. Formatted source code.
  11. Added new feature and test coverage to transfer between two accounts.
  12. Added new feature to accrue daily based on compound rate.

Please note following feature was not added: Maxi-Savings accounts* to have an
interest rate of 5% assuming no withdrawals in the past 10 days otherwise 0.1%.

iyanchak added 7 commits June 3, 2017 09:52
1. Restructured code to use namespaces better
2. Fixed ignored Test cases and renamed other according to Java spec
3. Improved code coverage
4. Fixed code (missing synchronization on date provider, incorrect get
first customer name function and etc)
5. Introduced enum for account type
6. Introduced BusinessException hierarchy and added boundary scenario
test cases for them.
7. Added new feature and test coverage to transfer between two accounts
for customer.
1. Added feature to accrue daily based on compound rate
2. Added unit tests to cover different scenarios for above feature
3. Some additional clean up and comments indication to accrue on 365
days basis
1. Added Java doc for all public metho
2. Added missing test cases
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