Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The --start-subject flag does not work as expected with an exact subject #1163

Open
dgollahon opened this issue Dec 16, 2020 · 0 comments
Open
Labels

Comments

@dgollahon
Copy link
Collaborator

0 subjects are selected when --start-subject is given an exact class expression.

Examples from mutant itself (happens when using the normal mutant invocation on other projects as well, this was just easy to demonstrate):

Does not work properly -- it selects 0 subjects

./mutant.sh --start-subject 'Mutant::Mutator::Node::If' 'Mutant*' 

Works fine:

./mutant.sh --start-subject 'Mutant::Mutator::Node::If*' 'Mutant*'

Works fine:

./mutant.sh --start-subject 'Mutant::Mutator::Node::If#dispatch' 'Mutant*'

See this remark on discord and the conversation that precedes it.

@dgollahon dgollahon added the bug label Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant