The tech stack used in this project are:
- JAVA as the programming language for writing test code
- Cucumber as the framework
- Gradle as the build tool
- IntelliJ as the preferred IDE for writing java code.
Setup your machine.
- Install JDK 11
- Install IntelliJ (Community edition should suffice)
- Install Gradle
-
Run tests in Sequence:
gradle clean build runTestsInSequence -Dbrowser=chrome -Ptags=@Test
-
Run tests in Parallel:
gradle clean build runTestsInParallel -Dbrowser=firefox -Ptags=@Test
-
Run tests from IntelliJ:
- Open IntelliJ and click on EditConfigurations
- Add select Cucumber Java
- In VM options enter
-Dbrowser=chrome
or-Dbrowser=firefox
- Now right click on any scenario to run
- Report will be found here:
build/reports/cucumber/cucumber-html-reports/overview-features.html
- TestCase-1: Drag and drop operation scenario
- TestCase-2: Resize the editor and log dimensions every time