-
Notifications
You must be signed in to change notification settings - Fork 127
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
Untestable API #3088
Comments
@l3r8yJ sounds good for me |
@maxonfjvipon assign me please |
@maxonfjvipon @l3r8yJ, I have some doubts about this method. Actually, this is a crutch that we added to hide a problem with "unexpected" classes that were added during compilation:
Therefore, I believe that we should solve the original problem instead of adding tests that we will remove as soon as we solve the problem. |
@volodya-lombrozo I think we'll face this problem again while implementing #1602. Imagine you have two versioned objects from different libraries |
@maxonfjvipon, this is exactly what I mentioned above: we don't know how to solve the original problem:
Let's then concentrate on this problem instead of implementing the code that we will remove immediately when we actually do solve the problem. As for this:
I have no idea what exactly you mean; could you provide some links, please? Especially to the bad API ticket. Which API are you referring to? Again, I believe that we should solve the original problem instead. But of course, if you enjoy beating around the bush, I can't stop you here :) |
@maxonfjvipon to be honest, I completely agree with @volodya-lombrozo, in such cases there is no point in doing such work. I think we need to work smarter, not harder; and focus on the root cause of the problem wdyt? |
@l3r8yJ as you wish. Then I suggest at least to replace "wrong" tickets and puzzles with "right" ones which would explain what we actually need to do and when it'll be possible |
@maxonfjvipon okay |
TranspileMojo
have this private method#cleanUpClasses
, which is extremely hard to test, because it's private, obviouslyeo/eo-maven-plugin/src/main/java/org/eolang/maven/TranspileMojo.java
Lines 269 to 287 in d3caa91
my suggestion is to create a separate class instead of
private
method, which will resolve same problem. Class can be moved to another repo or it can be placed inside of EO@maxonfjvipon @volodya-lombrozo wdyt?
The text was updated successfully, but these errors were encountered: