Skip to content
Snippets Groups Projects
Select Git revision
  • f678e4ef112f11922a39c4541e2456cbd9c8e660
  • master default protected
  • helloworld
  • al-dev
  • denis
5 results

basic-example

user avatar
Denis Arrivault authored
f678e4ef
History

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