Ability to get current step text with values of dynamic parameters from ExecutionContext

Đang mở
#87 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
testing

Hướng nghiên cứu

Start by tracing ExecutionContext and the current step text access mentioned in the issue, then inspect the BeforeStep and AfterStep event paths. The issue proposes reading actualStepText through getText and exposing it via getDynamicText; confirm how dynamic parameters are represented in this runner. Done means a step with dynamic parameters exposes its resolved text from ExecutionContext during either event.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
Expected behavior

User should be able to get current step text with values of dynamic parameters from ExecutionContext.

Proposed behavior

Step text with dynamic parameters can be read from method getDynamicText wherein the actualStepText of currentStep can be read from method getText.

Steps to reproduce
  1. run test with step which receives dynamic parameters
  2. get step text from ExecutionContext on AfterStep or BeforeStep event
Gauge version

Gauge version: 0.9.9.nightly-2018-06-01
Commit Hash: 812f26e

Plugins

ruby (0.5.1.nightly-2018-05-29)

Ngôn ngữ chính
Python
Star
96
Fork
38
Merge trung bình
1 giờ 9 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getgauge/gauge-python

Tất cả issue của getgauge/gauge-python

Issue tương tự

Thêm issue về Python

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.