Skip to content

Simple Calculator App is an Android application developed in Kotlin that provides basic calculator functionality. The app is built using Jetpack Compose and follows the MVVM architecture pattern. It includes unit tests using JUnit, Mockito, and Hamcrest, as well as UI tests using the Compose testing library.

Notifications You must be signed in to change notification settings

pablin202/compose-calculator

Repository files navigation

Jetpack Compose Calculator App

Simple Calculator App is an Android application developed in Kotlin that provides basic calculator functionality. The app is built using Jetpack Compose and follows the MVVM architecture pattern. It includes unit tests using JUnit, Mockito, and Hamcrest, as well as UI tests using the Compose testing library.

Features

  • Jetpack Compose: The app's user interface is developed using Jetpack Compose, a modern toolkit for building native UI in a declarative way.

  • MVVM Architecture: The app follows the Model-View-ViewModel (MVVM) architecture pattern, which separates the presentation, business logic, and data layers.

  • Calculator Functionality: The app allows users to perform basic mathematical calculations like addition, subtraction, multiplication, and division.

Unit Tests

Unit tests are implemented using JUnit, Mockito, and Hamcrest. These tests ensure the correctness of the app's business logic and data manipulation.

UI Tests

UI tests are implemented using the Compose testing library. These tests verify that the user interface components and interactions behave as expected.

Screenshots

Project Setup

  1. Clone this repository to your local machine.
  2. Open the project in Android Studio.
  3. Build and run the app on an emulator or Android device.
  4. To run unit tests, right-click on the test directory and select "Run Tests in 'app'".

Requirements

  • Android Studio
  • Internet connection (for dependencies)

Contribution

Contributions are welcome. If you find any issues or want to enhance the app, feel free to open an issue or submit a pull request.


Experience the simplicity of mathematical calculations with the Simple Calculator App! For any inquiries or suggestions, feel free to contact us.

Authors: Pablo Molina

Contact: molinapablod@gmail.com

About

Simple Calculator App is an Android application developed in Kotlin that provides basic calculator functionality. The app is built using Jetpack Compose and follows the MVVM architecture pattern. It includes unit tests using JUnit, Mockito, and Hamcrest, as well as UI tests using the Compose testing library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages