cytomining / cytomining/CytoTable

Add pytest markers indicating relative size of tests

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
21
Forks
6
Avg merge
2d 3h
Merged PRs (30d)
6

Description

This issue focuses on enabling the use of [pytest markers](https://docs.pytest.org/en/7.1.x/example/markers.html) to allow for more granular testing during development of this repo, for example `poetry run pytest -m small` to run "small" tests. Using markers could also allow for dagger based testing to use these markers for reproducible testing results, for example `dagger do test 3.9 pytest small`. As a start towards this work, `small`, `medium`, and `large` could be used for sizes (using only very rough estimates). These markers would allow for quicker results when developing specific aspects of this project.

Contributor guide

Open the contributing guide

Research direction

Start by locating the repository's pytest configuration and test suite, then review how tests are currently invoked with Poetry. Add support for small, medium, and large markers with rough test-size assignments, and verify that marker-based pytest commands produce the intended subsets of tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.