Maven and Java 8 required
- Clone the project
$ git clone https://github.com/mushanga/goeuro-devtest.git
$ cd goeuro-devtest
- Create the executable jar
$ mvn package
- Run the jar
$ java -jar -Dfile.encoding=utf-8 target/goeurodevtest-0.0.1-SNAPSHOT.jar "berlin"
-Dfile.encoding=utf-8
parameter is crucial not to use the system default encoding
- See the results
$ cat results.csv
- Run the tests
$ mvn test