Create Selenium WebDriver HTML Reports With The Allure Framework




The cookie article that you are looking for has been moved by us to a better place.







Share this

6 Responses to "Create Selenium WebDriver HTML Reports With The Allure Framework"

  1. Hi. This looks exactly what I've been looking for! I've configured as per this post, however I get the following error - could you point me in the right direction please if you get time?
    Many thanks in advance
    Mark...

    Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project selenide-test-2015: failed to get report for ru.yandex.qatools.allure:allure-maven-plugin: Unable to load the mojo 'report' (or one of its required components) from the plugin 'ru.yandex.qatools.allure:allure-maven-plugin:2.0': com.google.inject.ProvisionException: Guice provision errors:
    [ERROR]
    [ERROR] 1) No implementation for org.eclipse.aether.RepositorySystem was bound.
    [ERROR] while locating ru.yandex.qatools.allure.report.AllureReportMojo
    [ERROR] at ClassRealm[plugin>ru.yandex.qatools.allure:allure-maven-plugin:2.0, parent: ClassRealm[plugin>org.apache.maven.plugins:maven-site-plugin:3.0, parent: sun.misc.Launcher$AppClassLoader@6d06d69c]]
    [ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=ru.yandex.qatools.allure:allure-maven-plugin:2.0:report)
    [ERROR]
    [ERROR] 1 error
    [ERROR] role: org.apache.maven.plugin.Mojo
    [ERROR] roleHint: ru.yandex.qatools.allure:allure-maven-plugin:2.0:report

    ReplyDelete
    Replies
    1. HI Mark,

      Sure, I can try to help.

      Please email me at alex@alexsiminiuc.com.

      Thanks.

      Alex

      Delete
  2. Hi Alex

    Any support for TestNG ?

    In my framework I am already using Report NG and Sure-fire plugin but wanted to give a try.

    ReplyDelete
  3. HI Uday,

    Yes, it works for TESTNG as well:
    https://github.com/allure-framework/allure-core/wiki/TestNG

    Thanks.

    Alex

    ReplyDelete
  4. Hi Alex,

    Thanks for this tutorial, very helpful...I'm wondering if you have a similar explanation for creating the Allure HTML report from an imported Maven project in IntelliJ?

    I've updated the pom.xml file, all test run successfully, but the allure junit report is failing with the error log message below. Any insight would be greatly appreciated...thanks again.

    WARNING: Error injecting: ru.yandex.qatools.allure.report.AllureReportMojo

    com.google.inject.ProvisionException: Guice provision errors:

    1) No implementation for org.eclipse.aether.RepositorySystem was bound.
    while locating ru.yandex.qatools.allure.report.AllureReportMojo

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project allure-junit-example: failed to get report for ru.yandex.qatools.allure:allure-maven-plugin: Unable to load the mojo 'report' (or one of its required components) from the plugin 'ru.yandex.qatools.allure:allure-maven-plugin:2.0': com.google.inject.ProvisionException: Guice provision errors:
    [ERROR]
    [ERROR] 1) No implementation for org.eclipse.aether.RepositorySystem was bound.

    ReplyDelete
    Replies
    1. Hi Doug,

      I havent used IntelliJ so far so I cannot help much.

      This looks like a bug that you should submit here:
      https://github.com/allure-framework/allure-core/issues

      Hope this helps.

      Alex

      Delete