-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Create core module #2311
Create core module #2311
Conversation
9cb03f2
to
a801880
Compare
a801880
to
5e9c86a
Compare
@juherr - Can you please let me know as to what we are aspiring to do with this changeset ? Just wanted to get a sense of the direction that we are taking so that I can align myself to that as well. Please let me know. |
@krmahadevan I'm trying to split sources into real logical modules with their own dependencies.
I highlight a lot of package dependency issues (for example, API needs some internal classes). |
@krmahadevan I'd love to make it real a day. |
@juherr , @krmahadevan , do you still intend to move this forward? For instance, I am implementing |
@vlsi Having many modules is one of my main goals for TestNG but the move is not so easy. Would you like to try on your side and propose a PR? |
I can propose a PR here (I am kind of profficient in Gradle), however I would like to try improving Guice bindings first to support I can more-or-less live with the current single jar dependency, however, improving Guice bindings in TestNG would probably make my tests easier to reason about. |
I didn't mention it before but |
There's a cyclic dependency between
public @interface Guice {
Class<? extends IModuleFactory> moduleFactory() default IModuleFactory.class; => public interface IModuleFactory {
Module createModule(ITestContext context, Class<?> testClass); =>
|
I agree that I know there are many cycling dependencies and I've never found the best way to remove them. About the injection feature, in the last year, we worked on its abstraction so "removing" guice should not be a too huge problem. I think you have a good view on the issue and I will be happy if you can help to fix it :D |
It could not as |
Done by #2564 |
The next steps will be to create some other modules with well-defined dependencies.
Currently, I'm just stuck on the "dist" module that will group all module and produce the same jars as today.