allure-framework / allure-framework/allure-java
Ability to rename classes with TestNG
- Ngôn ngữ chính
- Java
- Star
- 376
- Fork
- 241
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 45
Mô tả
#### I'm submitting a ...
- [ ] bug report
- [*] feature request
- [ ] support request => Please do not submit support request here, see note at the top of this template.
#### What is the current behavior?
Allure groups suites into sub-suites, which, in case of TestNG, are full class names (with their packages).
#### What is the expected behavior?
As far as I understand, Allure has an ability to use custom class names with JUnit. In JUnit, classes can be renamed with `@DisplayName` annotation. In TestNG, there's no such annotation, thus, I'd like to have something like Allure's `@Description` annotation be applicable to class names. For example,
```
@Description("Class Name Without Package")
public class TestClass
```
#### What is the motivation / use case for changing the behavior?
Some projects have very long package names, which are redundant for reports.
#### Please tell us about your environment:
| Allure version | 2.8.1 |
| --- | --- |
| Test framework | testng@6.8 |
| Allure integration | allure-testng@2.13.2 |
| Generate report using | allure-maven@2.10.0 |
#### Other information
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xác định phần tích hợp TestNG và so sánh cách Allure xử lý tên lớp tùy chỉnh cho JUnit. Xác định cách mô tả ở cấp lớp hoặc thành phần tương đương sẽ ảnh hưởng đến tên suite như thế nào, đồng thời giữ nguyên việc nhóm TestNG hiện có, sau đó xác minh rằng report được tạo sử dụng tên tùy chỉnh mà không có package.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- testing
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 42/100