You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even when used with @ClassRule the It is recommended to use HoverflyRule with @ClassRule warning still appears
Steps to reproduce the issue
public class IT {
@ClassRule
public static HoverflyRule hoverflyRule = HoverflyRule.inSimulationMode(SIMULATION_SOURCE);
@Rule
public TestRule watcher = new TestWatcher() {
protected void starting(Description description) {
System.out.println("Starting test: " + description.getMethodName());
}
};
@Test
public void test() {
}
}
Observed result
Hoverfly Java and Hoverfly error messages seen (If none, say none)
16:17:20.400 [main] WARN i.s.hoverfly.junit.rule.HoverflyRule - It is recommended to use HoverflyRule with @ClassRule to get better performance in your tests, and prevent known issue with Apache HttpClient. For more information, please see http://hoverfly-java.readthedocs.io/en/latest/pages/misc/misc.html#apache-httpclient.
If possible, add screenshots to help explain your problem
Expected result
There should be no warning
Additional relevant information
If not indicated above:
Hoverfly Java version: 0.12.0
Anything that might help us to diagnose the problem
Removing the watcher seems to also remove the warning
The text was updated successfully, but these errors were encountered:
Description of the bug
Even when used with
@ClassRule
theIt is recommended to use HoverflyRule with @ClassRule
warning still appearsSteps to reproduce the issue
Observed result
Hoverfly Java and Hoverfly error messages seen (If none, say none)
If possible, add screenshots to help explain your problem
Expected result
There should be no warning
Additional relevant information
If not indicated above:
Removing the watcher seems to also remove the warning
The text was updated successfully, but these errors were encountered: