This is an small task called Questionare
- Language: Java
- Development Kit: Java SDK 8
- Build Automation Tool: Maven
- IDE: IntelliJ IDEA (Ultimate Edition)
These instructions will get you a copy of the project up and running on you local machine for development and testing purposes.
- Java SDK 8
- Java IDE (IntelliJ IDEA recommended)
- Git
Please follow carefully step by step instructions below in order to get the app up and running locally.
-
Open Terminal
-
Get a clone of this project in local machine:
git clone https://github.com/arionitmisini/questionar.git
cd questionar/
- Build project and JAR file.
mvn clean install
- Run project with terminal
cd target/
java -jar questionare-1.0-SNAPSHOT.jar <Total amount> <No of payments>
Note: After running the application please read the documentation below the "Running Test Section"
Follow the instructions below in order to run automated tests.
- Running tests with IDE:
- Run with any IDE the "BigDecimalCalculateTest.java" file located in project location "src/test/java/utils/BigDecimalCalculateTest.java".
- Running tests with command line:
- Open the Terminal
- Change directory to the project directory in terminal
- Run the command below:
mvn test
- Arionit Misini