Learn how you can run features from intellij.
   
    
    
    
    
    
  In order to run a feature file or a particular scenario from IntelliJ, you need to perform some basic steps, which are as follows:
- Open IntelliJ and select 
Run/Debug Configurationand selectEdit Configurations... 

- Now Select 
Defaultsfrom theRun/Debug Configurationwindow and chooseCucumber Java 

- On right-hand side in 
Before Launchsection add a new configuration by clicking on it and selectingRun Gradle Task 

- In 
Select Gradle Taskselect a Gradle project (current project) and onTaskstypeoptimusSetupand clickOK 

- Add a VM option for this gradle task. 
-DtestFeed="Name of your json file/Test feed fileName" 

- Next on 
Run/Debug Configurationwindows provide Glue as steps and VM Options as
-DtestFeed="Name of your json file/Test feed fileName" -DrunMode="Fragmentation/Distribution" 
