Introduce method filter support in the ConsoleLauncher by yhkuo41 · Pull Request #3169 · junit-team/junit-framework (original) (raw)

After referring to other Filters (such as TagFilter), I am not sure if I should implement both IncludeMethodFilter and ExcludeMethodFilter, please let me know if I should remove IncludeMethodFilter.

We originally thought we didn't need an include filter because there's already a way to select particular methods. However, the latter does not allow specifying wildcards so there might be some use cases where it would be beneficial.

Team decision: Add both --include-methodname and --exclude-methodname.