allure-framework / allure-teamcity

Teamcity CI plugin allowing to generate Allure Report as build artifact
https://qameta.io/allure-report
Apache License 2.0
37 stars 29 forks source link

Unable to find ru.yandex.qatools.allure.Allure #45

Closed vishal-kaushish closed 7 years ago

vishal-kaushish commented 7 years ago

I am working on supporting the Allure with my testng automation framework.

I went through it on git hub. But it shows unable to find these packages.

ru.yandex.qatools.allure.Allure; ru.yandex.qatools.allure.events ru.yandex.qatools.allure.utils

Could you please help me on this. I was unable to find any jar or dependency which has these Classes.

baev commented 7 years ago

@vishal-kaushish hi!

This classes is a part of Java API (available in Maven Central):

<dependency>
    <groupId>ru.yandex.qatools.allure</groupId>
    <artifactId>allure-java-adaptor-api</artifactId>
    <version>1.5.0</version>
</dependency>
vishal-kaushish commented 7 years ago

Thanks @baev

That has worked perfectly. But below methods are not found in the code. AllureModelUtils.createTestSuiteLabel(testSuiteLabel), AllureModelUtils.createTestGroupLabel(testGroupLabel), AllureModelUtils.createTestClassLabel(testClassLabel), AllureModelUtils.createTestMethodLabel(testMethodLabel));
if (AllureConfig.newInstance().areTestNgParametersEnabled()

baev commented 7 years ago

I guess these methods were removed in 1.5.0

vishal-kaushish commented 7 years ago

@baev,

Then how could i provide the support of Allure to my automation. Could you please provide any alternative.

baev commented 7 years ago

Then how could i provide the support of Allure to my automation. Could you please provide any alternative.

Could you please explain what exactly do you need?

vishal-kaushish commented 7 years ago

Hi @baev ,

I want to have automation test execution report in more presenting way, like it shows for Allure html result report. I researched on Google and found Allure one of the most attractive report, http://allure.qatools.ru/.

But now its not working.

vishal-kaushish commented 7 years ago

@baev @smecsia @9ikhan @d0lfin @nskvortsov ,

Could anyone please provide resolution for above. Also if below methods are obsolete then what is the workaround for these. AllureModelUtils.createTestSuiteLabel(testSuiteLabel), AllureModelUtils.createTestGroupLabel(testGroupLabel), AllureModelUtils.createTestClassLabel(testClassLabel), AllureModelUtils.createTestMethodLabel(testMethodLabel)); if (AllureConfig.newInstance().areTestNgParametersEnabled()

baev commented 7 years ago

But now its not working.

What exactly not working? Make sure that you have read the documentation, and in case you have other questions please use Stack Overflow