How To Run

Maven and Java 8 required

  1. Clone the project
   $ git clone https://github.com/mushanga/goeuro-devtest.git
   $ cd goeuro-devtest
  1. Create the executable jar
   $ mvn package
  1. 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

  1. See the results
   $ cat results.csv
  1. Run the tests
   $ mvn test