org.databene.contiperf.junit
Class ContiPerfRule
java.lang.Object
org.databene.contiperf.junit.ContiPerfRule
- All Implemented Interfaces:
- org.junit.rules.MethodRule
public class ContiPerfRule
- extends Object
- implements org.junit.rules.MethodRule
Implements the JUnit MethodRule
interface
for adding performance test features to test calls.
for activating it, add an attribute of this class
to your test class, e.g.:
public class SimpleTest {
- Since:
- 1.0
- Author:
- Volker Bergmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContiPerfRule
public ContiPerfRule()
ContiPerfRule
public ContiPerfRule(ExecutionLogger logger)
ContiPerfRule
public ContiPerfRule(ReportModule... modules)
ContiPerfRule
protected ContiPerfRule(ReportContext context)
ContiPerfRule
protected ContiPerfRule(ReportContext context,
Object suite)
createDefaultRule
public static ContiPerfRule createDefaultRule()
createVerboseRule
public static ContiPerfRule createVerboseRule()
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object target)
- Specified by:
apply
in interface org.junit.rules.MethodRule
getContext
public ReportContext getContext()
configurePerfTest
public static ExecutionConfig configurePerfTest(PerfTest annotation,
String testId)
Copyright © 2013. All Rights Reserved.