A new Flutter project.
This application provides a set of services to interact with a mock API for login, logout, balance retrieval, sending money, and fetching transaction history.
- Dart SDK: Ensure you have Dart installed on your machine. You can download it from dart.dev.
This project is a starting point for a Flutter application.
-
Clone the Repository
Clone this repository to your local machine using:
git clone https://github.com/mackymangampo/send-money-app.git
-
Navigate to the Project Directory
Change into the project directory:
cd local-machine-name/send-money-app
-
Install Dependencies
Run the following command to install the necessary dependencies:
flutter clean & flutter pub get
This project uses the test
package for unit testing. To run the tests, follow these steps:
-
Ensure the
mockito
andbuild_runner
package is included in yourpubspec.yaml
file:dev_dependencies: build_runner: ^2.4.6 mockito: ^5.0.0
-
Run the Tests
Execute the following command to run all tests:
flutter test test/providers
This will run all test files located in the
test
directory.
lib/
: Contains the main source code for the application.test/
: Contains the unit tests for the application.