It is a framework for Web Testing and Automation.
Maven installed:
For Windows: Windows install maven
For mac: MacOS install - Homebrew
(If maven is not installed, please install first)
- Run
mvn clean install -DskipTests - Run
mvn clean test
- It requires
Java 8 or newer. - TestRunner is
JUnit 5
How to set up project:
-
Click on
File -> New -> Project from version control -
On the
Repository urltab, provide the URL ashttps://github.com/mayank1004/JavaE2E.gitand selectClonebutton -
Click on the
File, and selectProject Structure -
Please verify
- The project SDK is set to java version 8 or above,
- In modules,
language levelneeds to be 8 or higher version.
-
How to run test:
- Expand src/test/java/conduitTests.APITests
- Right click on UserServiceAPITest.java and select
Run UserServiceAPITest
Note: Make sure test runs without any error
- Clone the repo.
- Click on
File->Open Projects from File System... - Select the directory as root of the repo
- Now verify you see the project folder in
package explorer - Now make sure project is set to java version 8 or above. You could verify that by:
- Right-click on the root of the project folder displayed and select
Properties - Go to Java compiler and verify JDK compliance is 1.8 or above
- Right-click on the root of the project folder displayed and select
- How to run test:
- Expand src/test/java/conduitTests.APITests
- Right click on UserServiceAPITest.java and select run as
Maven TestorJUnit Test - Tests should pass
Note: We use Test RunnerJUnit 5for the project. (You could verify that by checking inRun Configuration)
https://github.com/jossjacobo/react-redux-realworld-example-app
