basic example using Davis
Getting started with Intellij
1- Clone the basic example repository :
git clone https://gitlab.lis-lab.fr/davis/basic-example.git
2- Open IntelliJ and load project :
File/Open
Choose the basic-example folder and click ok
Write new algorithm
1- Write your java algorithm into the src folder : MyAlgo.java
2- Open scenario file and add a line with 5 parameters :
3- Refresh gradle panel.
4- In Tasks/application
of the gradle panel you should see your testName as a
gradle task named "runtestName"
5- Click to execute.
Without Intellij
1- Write your java algorithm into the src folder : MyAlgo.java
2- Open scenario file and add a line with 5 parameters :
3- Execute in a terminal with ./gradlew runtestName