Technical assignment concerning a shopping basket which contains products with related sales taxes.
The requirements of this assignment can be found here.
This example project has been designed by following the Clean Architecture (taking inspiration from here)
The project consists of three main packages, which reflect the layered structure of the Clean Architecture:
adapter
domain
usecase
In addition, the configuration
package contains the code responsible for creating the main components of the
application, and for creating the initial data.
- Java 1.8
$ git clone https://github.com/nlasagni/sales-taxes-problem.git
$ cd sales-taxes-problem
Build the project (includes compiling and testing).
$ gradlew build
Run the application, which starts from the SalesTaxesApplication
class.
$ gradlew run
Launch all the tests of this project.
$ gradlew test
Generate coverage report in HTML format inside the build folder.
$ gradlew jacocoTestReport