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

Regex to filter classes/files to migrate #4

Open
slinkydeveloper opened this issue Mar 21, 2022 · 2 comments
Open

Regex to filter classes/files to migrate #4

slinkydeveloper opened this issue Mar 21, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@slinkydeveloper
Copy link
Collaborator

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*"
@slinkydeveloper slinkydeveloper added enhancement New feature or request good first issue Good for newcomers labels Mar 21, 2022
@mslowiak
Copy link

Hi @slinkydeveloper!
Can I work on this?

@slinkydeveloper
Copy link
Collaborator Author

@mslowiak sure go ahead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants