aai-institute / aai-institute/pyDVL
Define more pytest markers
- Ngôn ngữ chính
- Python
- Star
- 146
- Fork
- 10
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
We currently have `pytest.mark.torch` as a pytest marker used to identify tests that depend on PyTorch. This can be used to selectively run only these tests or skip them altogether.
We should define more markers for other cases such as:
- `pytest.mark.ray` for tests that depend on ray.
- `pytest.mark.memcached` for tests that depend on memcached.
Hướng dẫn đóng góp
Hướng nghiên cứu
Look for existing pytest markers like `pytest.mark.torch` in the codebase to understand the pattern. Search for tests that use ray or memcached to identify where to add the new markers. Define the markers in the pytest configuration (likely in pyproject.toml, setup.cfg, or conftest.py) and then apply them to the relevant test functions. Run the marked tests to verify they work correctly.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- testing
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 70/100