Setting Up IntelliJ

  1. Import Project

  2. Select the openmrs-cpm folder

     

  3. Import project from external model

    1. Gradle


       

  4. Import project settings:

    1. Gradle project: ./code/openmrs-cpm/build.gradle

    2. Use default gradle wrapper (recommended)

Plugins

Go to "Preferences > Plugins" and install

  • Cucumber for Java

  • Gherkin

Once installed tests should be able to be run using a right click on a feature

or on the functional-tests project

Issues

  1. Resolve Error


    Update the version of Gradle in gradle/wrapper/gradle-wrapper.properties