Bu proje, TestNG ve Cucumber kullanarak geliştirilmiş bir test otomasyon projesidir. Hem TestNG hem de Cucumber'ın gücünü kullanarak dört farklı kullanıcı hikayesi (user story) üzerinde kapsamlı testler gerçekleştirdik. Artık, dönüşüm ile Cucumber'ın tüm özelliklerini kullanarak paralel test çalıştırma ve gelişmiş raporlama yapabiliyoruz!
🛠️ Özellikler
Raporlama :
Cucumber Pretty – Güzel ve okunabilir raporlar. HTML ve JSON – Farklı formatlarda raporlar. Extent Reports – Detaylı ve zengin raporlar!
Paralel Çalıştırma ⚡:
runnerParallelRegression ve runnerParallelSmoke sınıfları ile hızlı testler. XML dosyaları ile paralel test çalıştırma. Maven komutu mvn clean test ile testler ve raporlar.
Kullanılan Sınıflar
Runner Class: Runner sınıfı, Cucumber testlerini çalıştırmak için kullanılır ve her tür raporlama formatını destekler. Extent Raporları: runnerParallelRegression ve runnerParallelSmoke sınıfları ile detaylı Extent raporları oluşturulur. XML Dosyaları: Testleri paralel olarak çalıştırmak için kullanılır ve pom.xml ile uyumludur.
This project is a test automation initiative developed using TestNG and Cucumber. We’ve leveraged the power of both TestNG and Cucumber to run comprehensive tests on four different user stories. With this transition to Cucumber, we’re now equipped with parallel test execution and advanced reporting capabilities!
🛠️ Features
Reporting:
Cucumber Pretty – Beautiful and readable reports. HTML and JSON – Reports in different formats. Extent Reports – Detailed and rich reports!
Parallel Execution ⚡:
runnerParallelRegression and runnerParallelSmoke classes for speedy tests. Parallel test execution using XML files. Maven command mvn clean test for tests and reports.
Classes Used
Runner Class: The Runner class is used to execute Cucumber tests and supports all types of reporting formats. Extent Reports: Detailed Extent Reports are generated using runnerParallelRegression and runnerParallelSmoke classes. XML Files: Used for parallel test execution and compatible with pom.xml.