allure-framework / allure1

Allure 1 isn't supported any more, please consider using Allure 2 https://github.com/allure-framework/allure2 instead
Apache License 2.0
713 stars 169 forks source link

Store Allure version somewhere in XML file #229

Closed vania-pooh closed 10 years ago

vania-pooh commented 10 years ago

The main idea is to be able to check whether current report generator (i.e. cli, jenkins and teamcity plugin) is compatible with provided XML version. When #210 is fixed CLI will simply complain about incorrect XML file when trying to generate 1.4.0 report with 1.3.x cli. I would opt for storing version of Allure for which XML was generated. This could look like:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:test-suite xmlns:ns2="urn:model.allure.qatools.yandex.ru" start="1400167199067" stop="1400167199217" allureVersion="1.4.0">
...
</ns2:test-suite>
vania-pooh commented 10 years ago

@eroshenkoam, @baev thoughts?