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

io.split.qos.server.testcase.QOSTestCase Maven / Gradle / Ivy

There is a newer version: 22.4.3
Show newest version
package io.split.qos.server.testcase;

import com.google.inject.Inject;
import io.split.qos.server.failcondition.FailWith;
import io.split.qos.server.failcondition.SimpleFailCondition;
import io.split.qos.server.stories.StoriesRule;
import io.split.testrunner.guice.GuiceModules;
import io.split.testrunner.TestRunner;
import io.split.qos.server.modules.QOSClientsModule;
import io.split.qos.server.modules.QOSPropertiesModule;
import io.split.qos.server.util.BroadcasterTestWatcher;
import org.junit.Rule;
import org.junit.runner.RunWith;

/**
 * Base test case. All the classes should extend this.
 *
 * 

* If you feel adventurous, in your base case you could add the annotations and also add the rules * and it should work. IT SHOULD. *

*/ @RunWith(TestRunner.class) @GuiceModules({QOSPropertiesModule.class, QOSClientsModule.class}) @FailWith(SimpleFailCondition.class) public class QOSTestCase { @Inject @Rule public BroadcasterTestWatcher broadcasterTestWatcher; @Inject @Rule public StoriesRule storiesRule; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy