Skip to content

Commit 4c73607

Browse files
authored
Update README.md
1 parent 17a542a commit 4c73607

File tree

1 file changed

+33
-29
lines changed

1 file changed

+33
-29
lines changed

README.md

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,21 @@ git clone https://github.com/[your_username]/playwright-java-test-automation-arc
1414
3. Import the project in [IntelliJ IDEA](https://www.jetbrains.com/idea/download/).
1515
4. Make your desired changes.
1616
5. Use IntelliJ IDEA to run your desired tests. Alternatively, you can use the terminal to run the tests, for example `./gradlew test -Dbrowser=firefox -Dheadless=false` to run all the tests using the firefox browser in headed mode.
17+
6. Build and browse the allure report using
18+
```
19+
./gradlew allureServe
20+
```
1721

1822
## Languages and Frameworks
1923

2024
The project uses the following:
2125
- *[Java 11](https://openjdk.java.net/projects/jdk/11/)* as the programming language.
2226
- *[Playwright](https://playwright.dev/)* as the web browser automation framework using the Java binding.
2327
- *[Univocity Parsers](https://www.univocity.com/pages/univocity_parsers_tutorial)* to parse and handle CSV files.
24-
- *[TestNG](https://testng.org/doc/)* as the testing framework.
28+
- *[JUnit 5](https://junit.org/junit5/)* as the testing framework.
2529
- *[Lombok](https://projectlombok.org/)* to generate getters.
2630
- *[Owner](http://owner.aeonbits.org/)* to minimize the code to handle properties file.
27-
- *[Extent Reports](https://www.extentreports.com/)* as the test reporting strategy.
31+
- *[Allure Report](https://qameta.io/allure-report/)* as the test reporting strategy.
2832
- *[Gradle](https://gradle.org/)* as the Java build tool.
2933
- *[IntelliJ IDEA](https://www.jetbrains.com/idea/)* as the IDE.
3034

@@ -50,31 +54,27 @@ The project is structured as follows:
5054
├─ settings.gradle
5155
└─ src
5256
   ├─ main
53-
   │  ├─ java
54-
   │  │  └─ io
55-
   │  │     └─ github
56-
   │  │        └─ tahanima
57-
   │  │           ├─ config
58-
   │  │           │  ├─ Configuration.java
59-
   │  │           │  └─ ConfigurationManager.java
60-
   │  │           ├─ data
61-
   │  │           │  ├─ BaseTestData.java
62-
   │  │           │  └─ login
63-
   │  │           │     └─ LoginTestData.java
64-
   │  │           ├─ page
65-
   │  │           │  ├─ BasePage.java
66-
   │  │           │  ├─ BasePageFactory.java
67-
   │  │           │  ├─ login
68-
   │  │           │  │  └─ LoginPage.java
69-
   │  │           │  └─ product
70-
   │  │           │     └─ ProductsPage.java
71-
   │  │           ├─ report
72-
   │  │           │  └─ ExtentReportManager.java
73-
   │  │           └─ util
74-
   │  │              ├─ BrowserFactory.java
75-
   │  │              └─ BrowserManager.java
76-
   │  └─ resources
77-
   │     └─ config.properties
57+
   │  └─ java
58+
   │     └─ io
59+
   │        └─ github
60+
   │           └─ tahanima
61+
   │              ├─ config
62+
   │              │  ├─ Configuration.java
63+
   │              │  └─ ConfigurationManager.java
64+
   │              ├─ data
65+
   │              │  ├─ BaseTestData.java
66+
   │              │  └─ login
67+
   │              │     └─ LoginTestData.java
68+
   │              ├─ page
69+
   │              │  ├─ BasePage.java
70+
   │              │  ├─ BasePageFactory.java
71+
   │              │  ├─ login
72+
   │              │  │  └─ LoginPage.java
73+
   │              │  └─ product
74+
   │              │     └─ ProductsPage.java
75+
   │              └─ util
76+
   │                 ├─ BrowserFactory.java
77+
   │                 └─ BrowserManager.java
7878
   └─ test
7979
      ├─ java
8080
      │  └─ io
@@ -85,9 +85,13 @@ The project is structured as follows:
8585
      │           │  └─ login
8686
      │           │     └─ LoginE2ETest.java
8787
      │           └─ util
88-
      │              ├─ DataProviderUtils.java
89-
      │              └─ TestListener.java
88+
      │              ├─ CsvToPOJOMapper.java
89+
      │              ├─ DataArgumentsProvider.java
90+
      │              └─ DataSource.java
9091
      └─ resources
92+
         ├─ allure.properties
93+
         ├─ general.properties
94+
         ├─ junit-platform.properties
9195
         └─ testdata
9296
            └─ login
9397
               └─ login.csv

0 commit comments

Comments
 (0)