An open API service indexing awesome lists of open source software.

https://github.com/sumonta056/ui-and-unit-testing-in-java

Unit Testing using Junit & Mockito and UI Testing using Selenium WebDriver.
https://github.com/sumonta056/ui-and-unit-testing-in-java

java junit4 mockito selenium-webdriver ui-testing unit-testing

Last synced: 2 months ago
JSON representation

Unit Testing using Junit & Mockito and UI Testing using Selenium WebDriver.

Awesome Lists containing this project

README

          

# 🧐 Checkout Project Code 🧐

*------ **🧠 Java Unit Testing : JUnit 🧠** ------*

## 🌲 Step - 1 : Install JUnit Testing

#### ✍️ Follow Every Video Instruction : **([👉Click Here](https://youtu.be/sq_pYMepfP0?si=ZNP9loi9CNaiAtvO))**

#### ✍️ How to Create And Use Unit Tests in JUnit : **([👉Click Here](https://youtu.be/vZm0lHciFsQ?si=YN50wEfrrpJrzAo7))**

#### ✍️ A Complete Playlist if you want to learn more JUnit : **([👉Click Here](https://youtube.com/playlist?list=PLt4nG7RVVk1iGkgOCXmG8Cs8Pjw1Hj6Y6&si=4bWOz2CUJccUaAW9))**


*------ **🎥 Video Resources : Careful Do Steps of Installing Junit 🎥** ------*

##### ✍️ JUnit 4 Download Link : **([👉Click Here](https://mvnrepository.com/artifact/junit/junit/4.12))**

```code

junit
junit
4.12
test

```

##### ✍️ JUnit 5 Download Link : **([👉Click Here](https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api/5.10.0))**

```code

org.junit.jupiter
junit-jupiter-api
5.10.0
test


org.junit.jupiter
junit-jupiter-engine
5.10.0
test


org.junit.jupiter
junit-jupiter-params
5.10.0
test

```

##### ✍️ Must Refresh The Maven after Changing New Dependency

![](./assets/mavenRefresh.png)


*------ **🧠 Java Unit Testing : Mockito 🧠** ------*

## 🌲 Step - 1 : Install Mockito Testing

#### ✍️ Follow Every Video Instruction : **([👉Click Here](https://youtu.be/aNCPy803rkI?si=vrzZ2F7CjKypoJZ4))**

#### ✍️ Project Code of Video : **([👉Click Here](https://github.com/TshRahul/mockito-intro/blob/master/src/main/java/Student.java))**


*------ **🎥 Video Resources : Careful Do Steps of Installing Mockito 🎥** ------*

##### ✍️ Mockito Download Link : **([👉Click Here](https://mvnrepository.com/artifact/org.mockito/mockito-core/5.6.0))**

```code

org.mockito
mockito-core
3.5.2
test

```

##### ✍️ Must Refresh The Maven after Changing New Dependency


*------ **🧠 Java Unit Testing : Practicing Resource 🧠** ------*

#### ✍️ (Blog) How to write Unit Test : **([👉Click Here](https://www.freecodecamp.org/news/java-unit-testing/))**

#### ✍️ Code of Blog : **([👉Click Here](https://github.com/KunalN25/junit-testing-tutorial/blob/master/src/test/java/MockingTests.java))**


*------ **🧠 Java UI Testing : Selenium Web Driver 🧠** ------*

## 🌲 Step - 1 : Install Selenium Web Driver

#### ✍️ Follow Every Video Instruction : **([👉Click Here](https://youtu.be/dbzc9UbFZt8?si=pMu5CqxxiZfIcuvv))**

#### ✍️ Selenium Documentation : **([👉Click Here](https://github.com/Sumonta056/UI-and-Unit-Testing-in-Java/blob/main/Selenium%20Driver/Selenium%20Concepts.pdf))**


*------ **🎥 Video Resources : Careful Do Steps of Installing Selenium Web Driver 🎥** ------*

##### ✍️ Selenium Web Driver Download Link : **([👉Click Here](https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java/4.16.1))**
##### ✍️ Edge Web Driver : **([👉Click Here](https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/?form=MA13LH#downloads))**

```code

org.seleniumhq.selenium
selenium-java
4.16.1

```

##### ✍️ Must Refresh The Maven after Changing New Dependency


*------ **🧠 Selenium Web Driver : Practicing Resource 🧠** ------*

![img.png](img.png)

#### ✍️ Code of Question : **([👉Check Out src\Selenium Folder]())**