io.split.qos.server.testcase.QOSTestCase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qosrunner Show documentation
Show all versions of qosrunner Show documentation
Framework for running JUnit Tests as a Continous Service (QoS)
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