All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fluentlenium.adapter.junit.jupiter.FluentTest Maven / Gradle / Ivy

There is a newer version: 5.0.4
Show newest version
package org.fluentlenium.adapter.junit.jupiter;

import org.fluentlenium.utils.SeleniumVersionChecker;
import org.fluentlenium.adapter.FluentTestRunnerAdapter;
import org.junit.jupiter.api.extension.ExtendWith;

/**
 * JUnit 5 FluentLenium Test Runner Adapter.
 * 

* Extends this class to provide FluentLenium support to your JUnit Test class. */ @SuppressWarnings("PMD.MethodNamingConventions") @ExtendWith({FluentJUnitJupiter.class, MockitoExtension.class}) public class FluentTest extends FluentTestRunnerAdapter { // JUnitJupiter support, called from FluentJUnitJupiter /*package*/ void _starting(Class testClass, String testName) { SeleniumVersionChecker.checkSeleniumVersion(); starting(testClass, testName); } /*package*/ void _finished(Class testClass, String testName) { finished(testClass, testName); } /*package*/ void _failed(Throwable e, Class testClass, String testName) { failed(e, testClass, testName); finished(testClass, testName); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy