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

org.cache2k.testing.category.SlowTests Maven / Gradle / Ivy

Go to download

Defines different categories (SlowTests, FastTests, ...) we can specify for unit testing. Added as test dependency, otherwise we cannot specify the category in aggregator builds / on top level. This serves also as a test scope BOM for transitive dependencies to JUnit and hamcrest.

The newest version!
package org.cache2k.testing.category;

/*
 * #%L
 * cache2k testing
 * %%
 * Copyright (C) 2000 - 2018 headissue GmbH, Munich
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */

/**
 * Slow tests like stress tests that run for seconds. Timing dependent tests should go
 * to {@link TimingTests} or may go into the {@link SlowTests}, too, in case the test copes
 * with the fact that the CPU might get no processing time for an indefinite amount of time.
 * If this is the case a test should wait at least 8 seconds for a predicted event to happen.
 * Assertions that fail, because they are timing related should indicate in the text message
 * with "(may flap)".
 *
 * @author Jens Wilke
 */
public interface SlowTests {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy