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

com.fillumina.performance.consumer.assertion.SuiteExecutionAssertion Maven / Gradle / Ivy

Go to download

Configurable tool to easily compare performances of different code snippets and to take performance telemetry of a running application.

The newest version!
package com.fillumina.performance.consumer.assertion;

/**
 * Asserts conditions on a specific test of a suite
 * {@link com.fillumina.performance.producer.suite.ParametrizedPerformanceSuite}.
 *
 * @author Francesco Illuminati
 */
public interface SuiteExecutionAssertion {

    /**
     * In a performance suite each test is executed against several parameters.
     * To assert conditions about those parameters you have first to select
     * the test by using this method.
     * 
     *    assertion.forExecution("SEQUENTIAL READ")
     *           .assertTest("TreeMap").slowerThan("HashMap");
     * 
* * @param testName the name of the test * @return a {@link PerformanceAssertion} usable in a * * fluent interface to define the conditions * about the specified tests. */ PerformanceAssertion forExecution(final String testName); /** * Same as {@link #forExecution(java.lang.String)} but using the default * {@code null} test name. With parametrized tests it's possible (and * even normal) to have only one parametrized test so that it's of no * use to name it). */ PerformanceAssertion forDefaultExecution(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy