MemBank is a Cross-platform .Net core library, which implement an in-memory bank with basic banking functionalities. This library showcase the use of Object-Oriented programming, Factory, and Mediator design patterns in C#.
- Create an Object Oriented Program
- Utilize Design patterns
- Program should not have an interface
- Should implement test classes to validate requirements
- A bank has a name.
- A bank also has several accounts.
- An account has an owner and a balance.
- Account types include: Checking, Investment.
- There are two types of Investment accounts: Individual, Corporate.
- Individual accounts have a withdrawal limit of 500 dollars.
- Transactions are made on accounts.
- Transaction types include: Deposit, Withdraw, and Transfer
- .Net Core 2.0.2
- XUnit.Net
- Cross platform build is done on Ubuntu 14.04 using Travis CI
- Build on Windows is done using Visual studio 2017 on AppVeyor
- Code Coverage report is generated using OpenCover
- Code coverage monitored per build is performed using codecov.io
git clone https://github.com/shibut12/MemBank.git
dotnet restore
dotnet build
dotnet test
opencover\4.6.519\tools\OpenCover.Console.exe -target:"dotnet.exe" -targetargs:" test " -register:user -oldStyle -output:opencoverCoverage.xml