You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in order to apply phi/unphi transformations I must call xmir-to-phi and phi-to-xmir goals. It's fine for most of the integration pipelines. However, I faced with the following problem: I need to use these transformations in one of my unit tests. And it's almost impossible to do.
What I suggest:
Create Phi#unphi() and Xmir#toPhi() methods
Use them in PhiMojo and UnphiMojo
Benefits:
The ability to use these transformations programmatically, without the need to call xmir-to-phi and phi-to-xmir goals
We will be able to test phi/unphi transformations through unit tests inside eo-maven-plugin (Now we use integration tests with FakeMaven)
We will reduce coupling between internal components of PhiMojo and UnphiMojo and simplify them significantly
The text was updated successfully, but these errors were encountered:
@volodya-lombrozo Hey there, bug hunter! 🐛 Great job spotting that new bug - you've just bagged yourself 8 points! It's awesome how you're helping us level up our project's quality. Keep your eyes peeled for anything else that doesn't quite hit the mark. Remember, we're always keen to hear about any issues you come across. Your keen eye has pushed your balance up to +101 points. Keep up the great work!
yegor256
changed the title
PHI/UNPHI programatically without Mojo execution
it's impossible to use PHI/UNPHI programatically (outside of Mojos)
Oct 14, 2024
Currently, in order to apply
phi/unphi
transformations I must callxmir-to-phi
andphi-to-xmir
goals. It's fine for most of the integration pipelines. However, I faced with the following problem: I need to use these transformations in one of my unit tests. And it's almost impossible to do.What I suggest:
Phi#unphi()
andXmir#toPhi()
methodsPhiMojo
andUnphiMojo
Benefits:
xmir-to-phi
andphi-to-xmir
goalsphi/unphi
transformations through unit tests insideeo-maven-plugin
(Now we use integration tests withFakeMaven
)PhiMojo
andUnphiMojo
and simplify them significantlyThe text was updated successfully, but these errors were encountered: