exercism / exercism/java-analyzer

Document guidelines on testing

Đang mở
#123 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
13
Fork
27
Merge trung bình
4 ngày 17 giờ
Pull request đã merge (30 ngày)
7

Mô tả

I think we should come up with some guidelines on how analyzers should be tested. My proposal would be:

- Unit tests should exist to obtain as much code coverage as possible. Correctness of each exercise analyzer should be tested that way.
- Each exercise should have at least two smoke tests: one with an optimal solution that receives no feedback, and one with a solution that receives at least one exercise-specific comment.
- Next to that, a few smoke tests to cover exercises for which no analyzer is implemented should be present too, to make sure the analyzer works properly for every exercise. By that I mean that it shouldn't crash or something.

Once we come up with some concrete guidelines, we should probably write them down in the docs.

_Originally posted by @sanderploegsma in https://github.com/exercism/java-analyzer/issues/122#issuecomment-1924524027_

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

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

Hướng nghiên cứu

Bắt đầu bằng cách xem xét đề xuất được sao chép từ issue #122 và kiểm tra các unit test và smoke test hiện có của analyzer để xác định phạm vi bao phủ và các quy ước hiện tại. Xác định các hướng dẫn kiểm thử cụ thể cho các bài tập đã được phân tích và chưa được phân tích, ghi lại chúng và xác minh rằng các hướng dẫn đó phù hợp với các test hiện có trong repository.

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
documentation, testing-qa
Loại issue
Tài liệu
Độ 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
35/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.