Skip to content

conorheffron/shoppingcart-java

Repository files navigation

shoppingcart-java

License: GPL v3

Java CI with Gradle

SonarQube

Quality gate

SonarQube Overall Code Summary

image

Tech:

  • Java 21 (LTS), Maven 3.9, Gradle 8.1, IntelliJ IDEA 2025.2.1 (Community Edition), SonarQube, JaCoCo

Test Data

Maven Build

./gradlew clean build test

maven-build

Preview Product Info by Cereal ID(S) to find associated single unit 'price'

  • Cornflakes product-info-cornflakes
  • Weetabix product-info-weetabix

Sample Test Case as JUnit test (including JSON data fetch call(s))

simple-cart-calculation-test

Test Coverage Report

test-coverage

Convert to Gradle Build & Run with Tests

  • gradle init --type pom

gradle-build

About

Sample App to manage Shopping Cart items (add item, calculate total, tax, net price..). Focus on test coverage.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages