Create a Maven project. Choose not “Create from archetype” in case you create a project in IntelliJ Idea.

Let’s say we work for the campany XYZ and this is going to be the Test Automation Framework for the Checkout Services.

Then your groupId and artifactId will look like this.



You also need to set spring-boot-starter-parent as a parent. Sometimes you have a choice to use another spring project as a parent. In most cases it works but I recommend to use spring-boot-starter-parent as a parent to avoid redundant dependencies and possible conflicts.


Add 2 Spring Boot starters: spring-boot-starter, spring-boot-starter-test.


TestNG dependency


JUnit is already included into Spring Boot.

Find the minimal required pom.xml in posts below

Back to the top