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

https://github.com/havva-nur-ezginci/java_test_projects

🛠️This project includes a range of Web and API test automation examples✅, showcasing various approaches and methodologies ⚙️for validating your applications.
https://github.com/havva-nur-ezginci/java_test_projects

api-testing java junit lombok-maven rest-assured selenium-java testng

Last synced: 6 months ago
JSON representation

🛠️This project includes a range of Web and API test automation examples✅, showcasing various approaches and methodologies ⚙️for validating your applications.

Awesome Lists containing this project

README

          

# Test Otomasyon Projesi

Bu proje, iki ana kısımdan oluşmaktadır:

1. **Web Test Projesi:** Selenium WebDriver kullanarak web uygulamalarının otomasyonu uygulanmıştır.
2. **API Test Projesi:** API'lerin otomatik test edilmesi için Postman ve RestAssured kullanılmıştır.

Aşağıda her iki test projesine dair detaylar ve kurulum adımları yer almaktadır.

## Table of Contents
- [Web Test Projesi](#web-test-projesi)
- [API Test Projesi](#api-test-projesi)

# Web Test Projesi
- [Web Test Projesi (Selenium, JUnit, TestNG ve Maven)](https://github.com/havva-nur-ezginci/Java_Test_Projects/tree/master/com.MavenSelenium/src/test/java)

## Proje İçeriği

- **Selenium WebDriver:** Web tarayıcılarını otomatikleştirmek için kullanılır.
- **JUnit:** Unit test yazmak için kullanılan popüler bir test framework'üdür.
- **TestNG:** TestNG, JUnit gibi diğer test framework'üyle benzer bir kullanım sunar, ancak birçok ek özellik barındırır.

## Kurulum

Proje, Maven tabanlıdır. Aşağıdaki adımları izleyerek projeyi kurabilirsiniz.

### 1.JDK & Java Install
**https://www.oracle.com/java/technologies/downloads/**

### 2.Maven Repository
**https://mvnrepository.com/**

### 3.Install Maven Dependencies

Projedeki gerekli bağımlılıklar `pom.xml` dosyasına eklenmiştir:

```xml



org.seleniumhq.selenium
selenium-java
4.14.0



junit
junit
4.13.2
test



org.testng
testng
7.8.0
test

```
**Maven Proje Yapılandırması:** IDE içinde Maven bağımlılıklarını indirmek için `pom.xml` dosyasını güncelleyin (`mvn install`).

# API Test Projesi
- [API Test Projesi (Postman, RestAssured, Map, Pojo)](https://github.com/havva-nur-ezginci/Java_Test_Projects/tree/master/API_Testing/src/test/java)

Bu proje, REST API'lerin otomatik test edilmesi için aşağıdaki kütüphaneleri ve araçları kullanır:
## Proje İçeriği

- **RestAssured:** REST API'lerin test edilmesi için Java tabanlı bir kütüphanedir.
- **JUnit:** Test senaryolarını yazmak ve çalıştırmak için kullanılan popüler bir unit test framework'üdür.
- **JSONPath:** JSON veri yapılarını test etmek ve doğrulamak için kullanılır.
- **Gson:** JSON verileri üzerinde işlem yapabilmek için kullanılan bir kütüphanedir.
- **Lombok:** POJO sınıflarını daha kolay ve hızlı oluşturmak için kullanılır.

## Kurulum

Proje, Maven tabanlıdır. Aşağıdaki adımları izleyerek projeyi kurabilirsiniz.

### 1.JDK & Java Install
**https://www.oracle.com/java/technologies/downloads/**

### 2.Maven Repository
**https://mvnrepository.com/**

### 3.Install Maven Dependencies

Projenin API test kısmı için gerekli bağımlılıklar `pom.xml` dosyasına şu şekilde eklenmiştir:

```xml



io.rest-assured
rest-assured
5.3.2
test



com.jayway.jsonpath
json-path
2.8.0



junit
junit
4.13.2
test



com.google.code.gson
gson
2.10.1



org.projectlombok
lombok
1.18.30
provided

```

# Contributing 🚀

To contribute to this project:

1. 🍴 **Fork** the repository.
2. 🌱 **Create** your own branch for changes (`git checkout -b feature/new-feature`).
3. 💾 **Commit** your changes (`git commit -m 'Added a new feature'`).
4. 📤 **Push** your branch (`git push origin feature/new-feature`).
5. 🔁 **Open** a Pull Request.

🎉 **Thanks a lot for taking a look at this project! Every step you take helps us grow. Keep pushing boundaries, and together, let's create something amazing!** 🚀💪

## Related Repositories:

- [Test Projesi (Manuel, Web, Api, Load)](https://github.com/havva-nur-ezginci/QA-TestProjeleri-Manuel-Web-Api-Load)