Add Test coverage on the handling of manager init

Đang mở
#17 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
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cmake
Lĩnh vực
testing

Hướng nghiên cứu

Start by locating the manager initialization path, the BAL environment-variable setup, and the existing test fixtures. Add coverage for a missing default manager, an explicitly configured manager, and reconfiguration or misconfiguration, then run the relevant test suite to verify each case.

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

Mô tả

[fix] or [plan] We could do with some test coverage on the handling or manager init as its quite a mission-critical component. ie, dont set this here, and have fixtures that create a known configured environment, such that we can assert the behaviour with there is no default manager set, and when there is.

Originally posted by @foundrytom in https://github.com/OpenAssetIO/usdOpenAssetIOResolver/pull/16#discussion_r1093023309

Currently, initialising the manager (BAL) is done up front in an environment variable, and we don't have tests around reconfiguring/misconfiguring the manager. We should add some.

Ngôn ngữ chính
CMake
Star
28
Fork
4
Merge trung bình
12 phút
Pull request đã merge (30 ngày)
1

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 OpenAssetIO/usdOpenAssetIOResolver

Tất cả issue của OpenAssetIO/usdOpenAssetIOResolver

Issue tương tự

Thêm issue về Testing & QA

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.