{"action":"created","issue":{"url":"https://api.github.com/repos/allure-framework/allure-java/issues/141","repository_url":"https://api.github.com/repos/allure-framework/allure-java","labels_url":"https://api.github.com/repos/allure-framework/allure-java/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/allure-framework/allure-java/issues/141/comments","events_url":"https://api.github.com/repos/allure-framework/allure-java/issues/141/events","html_url":"https://github.com/allure-framework/allure-java/issues/141","id":254144030,"number":141,"title":"Multiple testNG tests run by @Factory are marked as \"retries\" instead of being separate","user":{"login":"amitwer","id":12250123,"avatar_url":"https://avatars3.githubusercontent.com/u/12250123?v=4","gravatar_id":"","url":"https://api.github.com/users/amitwer","html_url":"https://github.com/amitwer","followers_url":"https://api.github.com/users/amitwer/followers","following_url":"https://api.github.com/users/amitwer/following{/other_user}","gists_url":"https://api.github.com/users/amitwer/gists{/gist_id}","starred_url":"https://api.github.com/users/amitwer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitwer/subscriptions","organizations_url":"https://api.github.com/users/amitwer/orgs","repos_url":"https://api.github.com/users/amitwer/repos","events_url":"https://api.github.com/users/amitwer/events{/privacy}","received_events_url":"https://api.github.com/users/amitwer/received_events","type":"User","site_admin":false},"labels":[{"id":698955445,"url":"https://api.github.com/repos/allure-framework/allure-java/labels/theme:testng","name":"theme:testng","color":"fbca04","default":false},{"id":531399934,"url":"https://api.github.com/repos/allure-framework/allure-java/labels/type:bug","name":"type:bug","color":"fc2929","default":false},{"id":539448808,"url":"https://api.github.com/repos/allure-framework/allure-java/labels/work:selected%20for%20dev","name":"work:selected for dev","color":"bbddbb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-30T21:40:04Z","updated_at":"2018-04-25T17:11:10Z","closed_at":null,"author_association":"NONE","body":"[//]: # (\r\n. Note: for support questions, please use Stackoverflow or Gitter**. \r\n. This repository's issues are reserved for feature requests and bug reports.\r\n.\r\n. In case of any problems with Allure Jenkins plugin** please use the following repository \r\n. to create an issue: https://github.com/jenkinsci/allure-plugin/issues\r\n.\r\n. Make sure you have a clear name for your issue. The name should start with a capital \r\n. letter and no dot is required in the end of the sentence. An example of good issue names:\r\n.\r\n. - The report is broken in IE11\r\n. - Add an ability to disable default plugins\r\n. - Support emoji in test descriptions\r\n)\r\n\r\n#### I'm submitting a ... \r\n  - [x] bug report\r\n  - [ ] feature request\r\n  - [ ] support request => Please do not submit support request here, see note at the top of this template.\r\n\r\n#### What is the current behavior?\r\nWhen running tests with TestNG @Factory annotation, multiple runs are considered as \"retries\" instead of appearing as separate test runs. \r\n\r\n#### If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal \r\nRun the following class:\r\n\r\n```java\r\nimport io.qameta.allure.Step;\r\nimport org.testng.Assert;\r\nimport org.testng.annotations.Factory;\r\nimport org.testng.annotations.Test;\r\n\r\npublic class TestPoc {\r\n    int i = 1;\r\n\r\n    public TestPoc() {\r\n\r\n    }\r\n\r\n    public TestPoc(int i) {\r\n        this.i = i;\r\n    }\r\n\r\n    @Test\r\n    public void stepFailDemo() {\r\n        try {\r\n            failStep();\r\n        } catch (AssertionError e) {/*do nothing*/\r\n        }\r\n    }\r\n\r\n    @Step(\"Failing step\")\r\n    private void failStep() {\r\n        Assert.fail(\"Failing an inner step  \" + i);\r\n    }\r\n\r\n    @Factory\r\n    public Object[] myFactory() {\r\n        return new Object[]{new TestPoc(5), new TestPoc(6),new TestPoc(7)};\r\n    }\r\n}\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/12250123/29896044-1f50e87e-8de4-11e7-9872-2f6169b2f7e2.png)\r\n\r\n\r\n#### What is the expected behavior?\r\nExpected behaviour - Tests should show as separate entities. \r\n\r\n#### What is the motivation / use case for changing the behavior?\r\nCurrent behaviour is a bug - This is running a data driven test for 3 separate test cases (different parameters for test method)\r\n\r\n#### Please tell us about your environment:\r\n\r\n\r\n| Allure version | 2.2.0 |\r\n| --- | --- |\r\n| Test framework | testng@6.11 |\r\n| Allure integration | allure-testng@2.0-BETA16 |\r\n| Generate report using | allure-maven@2.8 |\r\n| Report version | 2.3.3 |\r\n\r\n#### Other information \r\n[allure-results.zip](https://github.com/allure-framework/allure-java/files/1265164/allure-results.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/allure-framework/allure-java/issues/comments/384363252","html_url":"https://github.com/allure-framework/allure-java/issues/141#issuecomment-384363252","issue_url":"https://api.github.com/repos/allure-framework/allure-java/issues/141","id":384363252,"user":{"login":"patotskiy","id":2944615,"avatar_url":"https://avatars1.githubusercontent.com/u/2944615?v=4","gravatar_id":"","url":"https://api.github.com/users/patotskiy","html_url":"https://github.com/patotskiy","followers_url":"https://api.github.com/users/patotskiy/followers","following_url":"https://api.github.com/users/patotskiy/following{/other_user}","gists_url":"https://api.github.com/users/patotskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/patotskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patotskiy/subscriptions","organizations_url":"https://api.github.com/users/patotskiy/orgs","repos_url":"https://api.github.com/users/patotskiy/repos","events_url":"https://api.github.com/users/patotskiy/events{/privacy}","received_events_url":"https://api.github.com/users/patotskiy/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T17:11:10Z","updated_at":"2018-04-25T17:11:10Z","author_association":"NONE","body":"Hi All,\r\n\r\nAny solutions for this?"}}
{"actor":{"display_login":"patotskiy"}}