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

runner.DIGIDTestRunner Maven / Gradle / Ivy

package runner;

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.extension.ExtendWith;
import users.User;

/**
 * This runner will prepare everything for your tests
 * Note that this code runs before each test
 * 

* If needed you can use the CachedDIGIDTestRunner * That runner already takes care of the login so you can skip that part in your tests */ @ExtendWith(TestWatcherExtension.class) abstract public class DIGIDTestRunner extends ZGWTestRunner { protected User digidUser; public DIGIDTestRunner(String baseUrl, User user) { super(baseUrl); digidUser = user; } @BeforeEach @Override protected void createContextAndPage() { ContextHandler.createCleanContextAndPage(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy