[JBoss JIRA] (ARQGRA-393) Graphene does not handle different qualifiers for Drone instances in fragments
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-393?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-393:
-----------------------------------
I have created ARQGRA-394 to track clarification effort.
> Graphene does not handle different qualifiers for Drone instances in fragments
> ------------------------------------------------------------------------------
>
> Key: ARQGRA-393
> URL: https://issues.jboss.org/browse/ARQGRA-393
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.0.CR2
> Reporter: Stefan Miklosovic
>
> The issue is that when I have two Drones in abstract class
> {code}
> @Drone
> @Browser
> WebDriver browser;
>
> @Drone
> @Mobile
> WebDriver mobile;
> {code}
> and some fragment in another class
> {code}
> public class LoginFragment {
>
> @Root
> private WebElement root;
>
> @Drone
> @Browser
> private WebDriver browser;
>
> @FindBy(id = "login-username")
> private WebElement usernameField;
>
> @FindBy(id = "login-password")
> private WebElement passwordField;
>
> @FindBy(id = "login-submit")
> private WebElement loginButton;
>
> public void writeUsername(String username) {
> usernameField.sendKeys(username);
> }
>
> public void writePassword(String password) {
> passwordField.sendKeys(password);
> }
>
> public void submitForm() {
> loginButton.click();
> Graphene.waitModel(browser).until().element(root).is().not().visible();
> }
> }
> {code}
> and I have a test in class which extends the abstract one
> {code}
> public class SomeClass extends AbstractSomeClass {
>
> @FindBy(id = "login-box")
> private LoginFragment loginFragment;
>
> @Test
> @InSequence(1)
> @OperateOnDeployment("some-deployment")
> public void loginUserInWebClient(@ArquillianResource URL context) {
> openWebPageUrl(context);
> loginFragment.writeUsername("john");
>
> }
> }
> {code}
> I get this:
> loginUserInWebClient(some class): There is no context available for qualifier org.jboss.arquillian.drone.api.annotation.Default. Available contexts are [interface x.y.z.Browser, interface x.y.z.Mobile].
> The workaround is to have one injection of Drone without any qualifier, so when I just remove @Browser annotation completely from everywhere, it is ok.
> This restriction is kind of ... interesting. Maybe I do not know how to set up that context on my own but according to various people as [~jhuska] it is considered to be a bug.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (ARQGRA-393) Graphene does not handle different qualifiers for Drone instances in fragments
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-393?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-393:
-----------------------------------
Stefan, you need to annotate the Page Fragment injection point with a qualifier.
The injection point decides about ion what context will given page or page fragment belong
> Graphene does not handle different qualifiers for Drone instances in fragments
> ------------------------------------------------------------------------------
>
> Key: ARQGRA-393
> URL: https://issues.jboss.org/browse/ARQGRA-393
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.0.CR2
> Reporter: Stefan Miklosovic
>
> The issue is that when I have two Drones in abstract class
> {code}
> @Drone
> @Browser
> WebDriver browser;
>
> @Drone
> @Mobile
> WebDriver mobile;
> {code}
> and some fragment in another class
> {code}
> public class LoginFragment {
>
> @Root
> private WebElement root;
>
> @Drone
> @Browser
> private WebDriver browser;
>
> @FindBy(id = "login-username")
> private WebElement usernameField;
>
> @FindBy(id = "login-password")
> private WebElement passwordField;
>
> @FindBy(id = "login-submit")
> private WebElement loginButton;
>
> public void writeUsername(String username) {
> usernameField.sendKeys(username);
> }
>
> public void writePassword(String password) {
> passwordField.sendKeys(password);
> }
>
> public void submitForm() {
> loginButton.click();
> Graphene.waitModel(browser).until().element(root).is().not().visible();
> }
> }
> {code}
> and I have a test in class which extends the abstract one
> {code}
> public class SomeClass extends AbstractSomeClass {
>
> @FindBy(id = "login-box")
> private LoginFragment loginFragment;
>
> @Test
> @InSequence(1)
> @OperateOnDeployment("some-deployment")
> public void loginUserInWebClient(@ArquillianResource URL context) {
> openWebPageUrl(context);
> loginFragment.writeUsername("john");
>
> }
> }
> {code}
> I get this:
> loginUserInWebClient(some class): There is no context available for qualifier org.jboss.arquillian.drone.api.annotation.Default. Available contexts are [interface x.y.z.Browser, interface x.y.z.Mobile].
> The workaround is to have one injection of Drone without any qualifier, so when I just remove @Browser annotation completely from everywhere, it is ok.
> This restriction is kind of ... interesting. Maybe I do not know how to set up that context on my own but according to various people as [~jhuska] it is considered to be a bug.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (ARQGRA-393) Graphene does not handle different qualifiers for Drone instances in fragments
by Stefan Miklosovic (JIRA)
Stefan Miklosovic created ARQGRA-393:
----------------------------------------
Summary: Graphene does not handle different qualifiers for Drone instances in fragments
Key: ARQGRA-393
URL: https://issues.jboss.org/browse/ARQGRA-393
Project: Arquillian Graphene
Issue Type: Bug
Affects Versions: 2.0.0.CR2
Reporter: Stefan Miklosovic
The issue is that when I have two Drones in abstract class
{code}
@Drone
@Browser
WebDriver browser;
@Drone
@Mobile
WebDriver mobile;
{code}
and some fragment in another class
{code}
public class LoginFragment {
@Root
private WebElement root;
@Drone
@Browser
private WebDriver browser;
@FindBy(id = "login-username")
private WebElement usernameField;
@FindBy(id = "login-password")
private WebElement passwordField;
@FindBy(id = "login-submit")
private WebElement loginButton;
public void writeUsername(String username) {
usernameField.sendKeys(username);
}
public void writePassword(String password) {
passwordField.sendKeys(password);
}
public void submitForm() {
loginButton.click();
Graphene.waitModel(browser).until().element(root).is().not().visible();
}
}
{code}
and I have a test in class which extends the abstract one
{code}
public class SomeClass extends AbstractSomeClass {
@FindBy(id = "login-box")
private LoginFragment loginFragment;
@Test
@InSequence(1)
@OperateOnDeployment("some-deployment")
public void loginUserInWebClient(@ArquillianResource URL context) {
openWebPageUrl(context);
loginFragment.writeUsername("john");
}
}
{code}
I get this:
loginUserInWebClient(some class): There is no context available for qualifier org.jboss.arquillian.drone.api.annotation.Default. Available contexts are [interface x.y.z.Browser, interface x.y.z.Mobile].
The workaround is to have one injection of Drone without any qualifier, so when I just remove @Browser annotation completely from everywhere, it is ok.
This restriction is kind of ... interesting. Maybe I do not know how to set up that context on my own but according to various people as [~jhuska] it is considered to be a bug.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (ARQGRA-353) Integration tests fail on Opera with Graphene Alpha5, Selenium 2.35
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-353?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-353:
------------------------------
Sprint: Graphene 2.0.0.CR2, Graphene 2.0.1 Sprint 1 (was: Graphene 2.0.0.CR2)
> Integration tests fail on Opera with Graphene Alpha5, Selenium 2.35
> -------------------------------------------------------------------
>
> Key: ARQGRA-353
> URL: https://issues.jboss.org/browse/ARQGRA-353
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Priority: Optional
> Labels: padawan
> Fix For: 2.0.1.Final
>
>
> {code}
> Results :
> Failed tests: testUnstable(org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase): Can't invoke unstable javascript extension: Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase$Unstable#simple()
> testIncorrectInstallation(org.jboss.arquillian.graphene.ftest.page.extension.PageExtensionTestCase): Expected exception: java.lang.IllegalStateException
> testJQuerySelectorCallingFindByDirectly(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> testFindByOnWebElement(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> testFindByOnListOfWebElement(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> Tests in error:
> testScreenMethods(org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase$Screen#getHeight()
> test(org.jboss.arquillian.graphene.ftest.javascript.TestCustomJSInterface): Can't invoke the javacript org.jboss.arquillian.graphene.page.document.Document#getTitle()
> testWithSources(org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase$HelloWorld#hello()
> testWithInterfaceDependencies(org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase$HelloWorld2#hello()
> testStelenessAndJavascriptOnWebDriver(org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase$JQueryInstallator#install()
> testStelenessAndJavascriptOnWebElement(org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase$JQueryInstallator#install()
> testGuardHttp(org.jboss.arquillian.graphene.ftest.parallel.TestGrapheneUtilitiesParalelly): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardXhr(org.jboss.arquillian.graphene.ftest.parallel.TestGrapheneUtilitiesParalelly): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardHttp(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardAjax(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjax(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjaxProcessing(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedTrigerringAndProcessing(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjaxProcessingWithCodeArgument(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardAjaxWithRelocation(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardHttpFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardNoRequestFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardAjaxFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testDelayedGuardNoRequest(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardNoRequest(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testXhr(org.jboss.arquillian.graphene.ftest.guard.RequestGuardTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#getRequestType()
> testHttp(org.jboss.arquillian.graphene.ftest.guard.RequestGuardTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#getRequestType()
> testCorrectInstallation(org.jboss.arquillian.graphene.ftest.page.extension.PageExtensionTestCase): com.opera.core.systems.scope.exceptions.ResponseNotReceivedException: No response in a timely fashion
> testDeletion(org.jboss.arquillian.graphene.ftest.enricher.TestHandlingOfStaleElements): com.sun.proxy.$Proxy21 cannot be cast to com.opera.core.systems.OperaWebElement
> testReplacement(org.jboss.arquillian.graphene.ftest.enricher.TestHandlingOfStaleElements): com.sun.proxy.$Proxy21 cannot be cast to com.opera.core.systems.OperaWebElement
> testOneWithJavascript(org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement$TestJavascript#getInnerHtml()
> testListWithJavascript(org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement$TestJavascript#getInnerHtml()
> Tests run: 271, Failures: 5, Errors: 27, Skipped: 0
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (ARQGRA-353) Integration tests fail on Opera with Graphene Alpha5, Selenium 2.35
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-353?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-353:
------------------------------
Sprint: Graphene 2.0.0.CR2 (was: Graphene 2.0.0.CR2, Graphene 2.0.1 Sprint 1)
> Integration tests fail on Opera with Graphene Alpha5, Selenium 2.35
> -------------------------------------------------------------------
>
> Key: ARQGRA-353
> URL: https://issues.jboss.org/browse/ARQGRA-353
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Priority: Optional
> Labels: padawan
> Fix For: 2.0.1.Final
>
>
> {code}
> Results :
> Failed tests: testUnstable(org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase): Can't invoke unstable javascript extension: Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase$Unstable#simple()
> testIncorrectInstallation(org.jboss.arquillian.graphene.ftest.page.extension.PageExtensionTestCase): Expected exception: java.lang.IllegalStateException
> testJQuerySelectorCallingFindByDirectly(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> testFindByOnWebElement(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> testFindByOnListOfWebElement(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> Tests in error:
> testScreenMethods(org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase$Screen#getHeight()
> test(org.jboss.arquillian.graphene.ftest.javascript.TestCustomJSInterface): Can't invoke the javacript org.jboss.arquillian.graphene.page.document.Document#getTitle()
> testWithSources(org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase$HelloWorld#hello()
> testWithInterfaceDependencies(org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase$HelloWorld2#hello()
> testStelenessAndJavascriptOnWebDriver(org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase$JQueryInstallator#install()
> testStelenessAndJavascriptOnWebElement(org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase$JQueryInstallator#install()
> testGuardHttp(org.jboss.arquillian.graphene.ftest.parallel.TestGrapheneUtilitiesParalelly): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardXhr(org.jboss.arquillian.graphene.ftest.parallel.TestGrapheneUtilitiesParalelly): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardHttp(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardAjax(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjax(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjaxProcessing(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedTrigerringAndProcessing(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjaxProcessingWithCodeArgument(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardAjaxWithRelocation(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardHttpFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardNoRequestFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardAjaxFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testDelayedGuardNoRequest(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardNoRequest(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testXhr(org.jboss.arquillian.graphene.ftest.guard.RequestGuardTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#getRequestType()
> testHttp(org.jboss.arquillian.graphene.ftest.guard.RequestGuardTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#getRequestType()
> testCorrectInstallation(org.jboss.arquillian.graphene.ftest.page.extension.PageExtensionTestCase): com.opera.core.systems.scope.exceptions.ResponseNotReceivedException: No response in a timely fashion
> testDeletion(org.jboss.arquillian.graphene.ftest.enricher.TestHandlingOfStaleElements): com.sun.proxy.$Proxy21 cannot be cast to com.opera.core.systems.OperaWebElement
> testReplacement(org.jboss.arquillian.graphene.ftest.enricher.TestHandlingOfStaleElements): com.sun.proxy.$Proxy21 cannot be cast to com.opera.core.systems.OperaWebElement
> testOneWithJavascript(org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement$TestJavascript#getInnerHtml()
> testListWithJavascript(org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement$TestJavascript#getInnerHtml()
> Tests run: 271, Failures: 5, Errors: 27, Skipped: 0
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months
[JBoss JIRA] (ARQ-1531) Implement code coverage integration with emma into Droidium container
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1531?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen commented on ARQ-1531:
------------------------------------
Annotation driven CodeCoverage doesn't make any sense to me. Code coverage is a 'report' you run when you need to, not something you program.
Emma (the old) is close to impossible to extend. A better option would be Jacoco (the Emma Eclipse Plugins guys rewrite of Emma). It would be great if this could reuse the Arquillian Jacoco Extension. Simply add it to ClassPath and you're good to go.
> Implement code coverage integration with emma into Droidium container
> ---------------------------------------------------------------------
>
> Key: ARQ-1531
> URL: https://issues.jboss.org/browse/ARQ-1531
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Droidium
> Affects Versions: 1.0.0.Alpha2
> Reporter: Stefan Miklosovic
>
> It is necessary to integrate some code coverage tooling into Droidium in order to get first class code coverage reports for your Android native applications when they are exercising with WebDriver tests.
> It is needed to investigate how automatic code coverage could be implemented, very superficialy, a user should be good this putting @CodeCoverage on test class and all fancy reports should be found in target.
> Resource: http://dtmilano.blogspot.cz/2011/11/obtaining-code-coverage-of-running.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 6 months