Purpose of different folder structure gets created in maven project in eclipse. | Selenium Forum
N
nic.nrs Posted on 19/07/2019

I am doing cucumnber project and I gone through the vedio but I am not clear on the folder structure  say for instance, why Webconnector was created under folder - src/main/java and runner class under src /test/java

 

Please tell me purpose of below folders and what type and domain/functionality of file to be under it - 

 

1) SRC/MAIN/JAVA

2) SRC/MAIN/RESOURCES

3) SRC/TEST/JAVA

4) SRC/TEST/RESOURCES

 

 

 

 

 


A
Ashish Thakur Replied on 19/07/2019

Please go through with the below description. Additionally, we have discussed these things in the video as well.

1) SRC/MAIN/JAVA : Used for keeping the main backend execution code

2) SRC/MAIN/RESOURCES: used for keeping resources for tests, like properties files etc.

3) SRC/TEST/JAVA: used for keeping test cases

4) SRC/TEST/RESOURCES: used for keeping test related sources.