allure-framework / allure-framework/allure-java

🐞: [Feature] Rename @TmsLink annotation to @Tms

Đang mở
#987 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
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ả

### What happened?

[//]: # (
. Note: for support questions, please use Stackoverflow or Gitter**.
. This repository's issues are reserved for feature requests and bug reports.
.
. In case of any problems with Allure Jenkins plugin** please use the following repository
. to create an issue: https://github.com/jenkinsci/allure-plugin/issues
.
. Make sure you have a clear name for your issue. The name should start with a capital
. letter and no dot is required in the end of the sentence. An example of good issue names:
.
. - The report is broken in IE11
. - Add an ability to disable default plugins
. - Support emoji in test descriptions
)

#### I'm submitting a ...
- [ ] bug report
- [x] 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 API implementations use different names for TMS links:

JUnit: `@TmsLink`

Cucumber-JVM: `Allure.tms`

NUnit: `[AllureTms]`

Behave: `@allure.tms`

Playwright: `allure.tms`

Jest: `allure.tms`

Cucumber.js and Mocha: `this.tms`

#### What is the expected behavior?
For the sake of coherence, could we rename the `@TmsLink` annotation to `@Tms` for Java JUnit ?

#### What is the motivation / use case for changing the behavior?
To have a coherent API

#### Please tell us about your environment:

- Allure version: 2.25.0
- Test framework: junit 5.10.1
- Allure adaptor: allure-junit5 2.25.0

#### Other information

[//]: # (
. e.g. detailed explanation, stacktraces, related issues, suggestions
. how to fix, links for us to have more context, eg. Stackoverflow, Gitter etc
)

### What Allure Integration are you using?

allure-junit5

### What version of Allure Integration you are using?

2.25.0

### What version of Allure Report you are using?

2.25.0

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Issue đề cập đến tích hợp allure-junit5, Java, JUnit 5 và annotation @TmsLink; trước tiên hãy xác định annotation đó và các nơi sử dụng nó. Công việc được xem là hoàn tất khi tên API được yêu cầu đã được thay đổi nhất quán thành @Tms, đồng thời khả năng tương thích và hành vi của tích hợp bị ảnh hưởng đã được làm rõ.

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ó
3/5
Thời gian dự kiến
1-2 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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.