I want to write some tests like this:
But test-kit use hardcoded paths here:
That force me make test-source locating root of working directory, and directory name should be the same.
Can it reading paths from configuration and leave current paths as default? This package will be helpful and no breaking changes.
You should not use the
mainCodeSourcesPath method, because it builds a path in
../java-checks-test-sources/src/main/java/.... You can provide a
String with your own way to reference the file. ex:
You can also override the
withClassPath(Collection<File> classpath) targeting your dependency jars.
Thanks, your reply is really helpful.