[arquillian-issues] [JBoss JIRA] (ARQAJO-126) Test migration path for renaming Ajocado to Graphene
Jan Papousek (JIRA)
jira-events at lists.jboss.org
Wed Feb 29 07:08:36 EST 2012
[ https://issues.jboss.org/browse/ARQAJO-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672015#comment-12672015 ]
Jan Papousek edited comment on ARQAJO-126 at 2/29/12 7:07 AM:
--------------------------------------------------------------
I've executed a single test for RichFaces Showcase:
{code}
java.lang.IllegalStateException: No configurator was found for object of type org.jboss.arquillian.ajocado.framework.AjaxSelenium.
Make sure you have a proper Drone extension on the classpath, that is arquillian-drone-selenium for Selenium browsers, arquillian-drone-webdriver for WebDriver browsers and arquillian-ajocado-drone for AjaxSelenium browsers. If you are using your own browser extension, please make sure it is on classpath.
Currently registered configurators are: org.openqa.selenium.iphone.IPhoneDriver
org.openqa.selenium.ie.InternetExplorerDriver
org.openqa.selenium.android.AndroidDriver
org.openqa.selenium.chrome.ChromeDriver
org.openqa.selenium.WebDriver
org.openqa.selenium.firefox.FirefoxDriver
org.jboss.arquillian.ajocado.framework.GrapheneSelenium
org.openqa.selenium.htmlunit.HtmlUnitDriver
at org.jboss.arquillian.drone.impl.DroneRegistryImpl.getEntryFor(DroneRegistryImpl.java:100)
at org.jboss.arquillian.drone.impl.DroneConfigurator.configureDrone(DroneConfigurator.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
at org.jboss.arquillian.testng.Arquillian.arquillianBeforeClass(Arquillian.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:551)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:175)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:107)
at org.testng.TestRunner.privateRun(TestRunner.java:758)
at org.testng.TestRunner.run(TestRunner.java:613)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1170)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1095)
at org.testng.TestNG.run(TestNG.java:1007)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:111)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
{code}
was (Author: jpapouse):
I've executed a single test for RichFaces Showcase:
{code}
java.lang.IllegalStateException: No configurator was found for object of type org.jboss.arquillian.ajocado.framework.AjaxSelenium.
Make sure you have a proper Drone extension on the classpath, that is arquillian-drone-selenium for Selenium browsers, arquillian-drone-webdriver for WebDriver browsers and arquillian-ajocado-drone for AjaxSelenium browsers. If you are using your own browser extension, please make sure it is on classpath.
Currently registered configurators are: org.openqa.selenium.iphone.IPhoneDriver
org.openqa.selenium.ie.InternetExplorerDriver
org.openqa.selenium.android.AndroidDriver
org.openqa.selenium.chrome.ChromeDriver
org.openqa.selenium.WebDriver
org.openqa.selenium.firefox.FirefoxDriver
org.jboss.arquillian.ajocado.framework.GrapheneSelenium
org.openqa.selenium.htmlunit.HtmlUnitDriver
at org.jboss.arquillian.drone.impl.DroneRegistryImpl.getEntryFor(DroneRegistryImpl.java:100)
at org.jboss.arquillian.drone.impl.DroneConfigurator.configureDrone(DroneConfigurator.java:113)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
at org.jboss.arquillian.testng.Arquillian.arquillianBeforeClass(Arquillian.java:103)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:111)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
... Removed 37 stack frames
{code}
> Test migration path for renaming Ajocado to Graphene
> ----------------------------------------------------
>
> Key: ARQAJO-126
> URL: https://issues.jboss.org/browse/ARQAJO-126
> Project: Arquillian Ajocado
> Issue Type: Sub-task
> Components: planning
> Affects Versions: 1.0.0.CR2
> Reporter: Lukáš Fryč
> Assignee: Jan Papousek
> Fix For: 1.0.0.CR3
>
>
> Run any available tests (Metamer, RF Showcase, ...).
> I have already checked that these are compilable,
> but additionally we need to make sure that it's working at runtime.
> Let's trigger several tests (not necessarily whole test suite) from each sample test project.
> Migration path:
> * rename Maven groupIds to {{ajocado->graphene}}
> * rename Maven artifactIds {{ajocado->graphene}}
> * additionally {{arquillian-ajocado-junit}} was renamed to {{arquillian-graphene-junit-container}} (ARQAJO-121)
> * rename arquillian.xml configuration {{ajocado}} to {{graphene}}
> * note: packages are not renamed
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list