processing / processing/processing-contributions

Unit tests for scripts/parse_and_validate_properties_txt.py

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

@mingness đang làm issue này rồi.

Từ ngày 9/9/2025.

Ngôn ngữ chính
Python
Star
8
Fork
8
Merge trung bình
4 ngày 22 giờ
Pull request đã merge (30 ngày)
3

Mô tả

This script has pydantic objects with validation - these could be tests for expected behavior.
There are also seven functions -

  • read_properties_txt makes a request, so this will need to be mocked, and edge cases tests
  • all other functions except for set_output and set_output_error can be tested with mock data.
  • set_output and set_output_error don't need to be tested, as these are specific to the github actions

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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.

Đánh giá

Issue này chưa được đánh giá.

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.