Skip to content

pytest-split test collection is not compatible with pytest-testmonΒ #93

@marcodicro-dp

Description

@marcodicro-dp

Is pytest-split compatible with pytest-testmon?

I want ro run all tests in groups (using pytest-split) and then use testmon to run only the affected tests inside those groups.
Testmon said no files have changed (no affected tests) but is pytest-split is running all tests anyways:

testmon: changed files: 0, unchanged files: 456, environment: default
rootdir: /Users/marcodicro/src/repo
configfile: test/project/pytest.ini
plugins: flaky-3.8.1, testmon-2.1.1, split-0.8.2
collecting 5771 items

[pytest-split] Splitting tests with algorithm: duration_based_chunks
[pytest-split] Running group 1/25 (estimated duration: 231.00s)

collected 5772 items / 5541 deselected / 231 selected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions