Skip to content

Regex to filter classes/files to migrate #4

@slinkydeveloper

Description

@slinkydeveloper

The tool gets as input a project root and tries to migrate all the test files at once. There are cases where one just wants to migrate a single file or a sub-directory, but it still needs to provide as root a big multi module project, in order to let type inference pick up all the classes available in the classpath. We should add a CLI flag to filter on the input files and/or input classes. e.g.

assertj-migrator /project/root --class-filter "io.slinkydeveloper.*"

and/or

assertj-migrator /project/root --file-filter "*io/slinkydeveloper*"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions