• Stars
    star
    3
  • Rank 3,963,521 (Top 79 %)
  • Language
    Java
  • License
    MIT License
  • Created over 4 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

UI Automation - Selenium, Cucumber, JUnit, Maven

Build and Test

UI Automation

Selenium, Cucumber, JUnit

Selenium - https://www.selenium.dev/documentation/en/

Selenium is a portable framework for testing web applications. Selenium provides a playback tool for authoring functional tests without the need to learn a test scripting language

Cucumber - https://cucumber.io/

It’s simple. Whether open source or commercial, our collaboration tools will boost your engineering team's performance by employing Behavior-Driven Development (BDD). And with our world-class training, take it to places it’s never been.

JUnit - https://junit.org/junit5/

JUnit 5 is the next generation of JUnit. The goal is to create an up-to-date foundation for developer-side testing on the JVM. This includes focusing on Java 8 and above, as well as enabling many different styles of testing.

Pre-requisites

Using tests in your project

In your TestRunner class add a glue option:

package com.project.qa.ui.runners;

import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
import org.junit.runner.RunWith;

@RunWith(Cucumber.class)
@CucumberOptions(
        features = "classpath:features",
        glue = "com.project.qa.ui.stepDefinitions"
        //tags = {"@gui"}
)
public class TestRunner {
}

Maven/Gradle Dependency

See https://jitpack.io/#selenium-cucumber/selenium-cucumber-java .

Ref: Vikas S.