Skip to content

ERROR: Invalid test-group argument when using with -k something #29

@dimaqq

Description

@dimaqq

First of all, thank you for much for this package!

It's simple, intuitive, and just the right kind of software :)

One usability issue I have is that I cannot just slap --test-group-count ... onto an existing codebase to parallelise the CI.

I have to guess the right number for the group count.

If there's only 1 test, then count=2, group=2 (typically? always?) errors out with "invalid test-group arg".

One case if it's a new repo, and there are too few tests.

Another case is using test groups and -m or -k selectors together.

It's very easy to end up in a situation where fewer tests are selected than there are groups.

And I'd want to make sure I run every group, because I don't want to accidentally end up with some tests not being run.

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