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*"
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.
and/or