I create a plugin to do something after the new test case is created ,so i created my
@ListenerConfiguration public class TestSuiteConfigureListener extends TestSuiteListenerAdapter { @Override public void testCaseAdded(TestCase testCase) { // TODO Auto-generated method stub //super.testCaseAdded(testCase); UISupport.showErrorMessage("ERRROR"); UISupport.showErrorMessage("ERRROR2"); //super.testCaseAdded(testCase); } }
Then after the plugin is loaded ,it throws the below error:
Thu Nov 12 18:23:17 PST 2015:WARN:Class class com.cucumberpeople.listeners.TestSuiteConfigureListener is annotated with @ListenerConfiguration but does not implement SoapUIListener
But i create a sample class for : TestRunListenerAdapter listener ,it works well ,
anyone could you give me some detail what happened for this listener ???