allure-framework / allure2

Allure Report is a flexible, lightweight multi-language test reporting tool. It provides clear graphical reports and allows everyone involved in the development process to extract the maximum of information from the everyday testing process
https://allurereport.org/
Apache License 2.0
4.14k stars 703 forks source link

Environments #130

Closed baev closed 1 year ago

sseliverstov commented 7 years ago

@baev it is really still open?

baev commented 7 years ago

Yep

DITLPANW commented 7 years ago

Hi, There is something new?

baev commented 7 years ago

We need to decide how to display environments in the report

DITLPANW commented 7 years ago

image This is the way I see the failure with "XML report processing" via TeamCity

DITLPANW commented 7 years ago

@baev What about the following display : https://github.com/allure-framework/allure1/wiki/Environment

netmajor commented 6 years ago

For browser environment maybe it should be placed on Test page, next to Retries and on page show Browser used by test and ability to switch to other test run in other browser.

Also on Suite page should we display on suite bar, next to suite name , icons of browser used in Suite with ability to filter Suite by browser.

Jiff21 commented 6 years ago

Along with browser, it would be nice to be able to sort by Environment Name (Production, Test, Staging. etc). There's no plugins for the CI tools I use so currently I think I'd have to send these to a custom server per environment.

mfestrada commented 6 years ago

Is this still being worked on?

SymphonicJohn commented 5 years ago

The (Ruby) work around I user for this is to attach an environment string in my formatter before so no two xml nodes have the same name before passing to allure: ` class AllureCucumber::Formatter

def scenario_name(keyword, name, *args)

Patch to append browser name to test-case

driver_type = CAP_HASH['envName'] || "Cucumber #{Time.now.to_s}"
scenario_name = (name.nil? || name == "") ? "Unnamed scenario" : name.gsub(/\n/, " ") + " " + driver_type
@scenario_outline ? @scenario_outline_name = scenario_name : @tracker.scenario_name = scenario_name

end `

LelantosTital commented 3 years ago

More then a year later I now face the same issue. Is there a solution to have separate environments?