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

Run tests inside Intellij Idea #273

Open
FanJups opened this issue Oct 14, 2024 · 3 comments
Open

Run tests inside Intellij Idea #273

FanJups opened this issue Oct 14, 2024 · 3 comments
Labels
jsgenerator-test test module Testing todo Ticket that has to be done

Comments

@FanJups
Copy link
Member

FanJups commented Oct 14, 2024

Given the multi-module nature of this project, Intellij Testing always fails. Fortunately, running tests at the command line works but we should also be able to run test inside Intellij

After running tests in Intellij, most of the time we get this error java: module not found: com.osscameroon.jsgenerator.core

Then, what if we deploy core module to maven/gradle ? Maybe, this error will disappear ? Or, is there a way to prevent Intellij to first search this module on maven central but start by checking locally ?

https://www.google.com/search?q=intellij+idea+failing+to+run+test+in+module+project&sca_esv=984db0dce26ae1a8&rlz=1C1FCXM_pt-PTPT1032PT1032&sxsrf=ADLYWIKa6aHpYXdAHsrIKOQDRDxKUgv7dg%3A1728935202287&ei=InUNZ5-bEciK7M8Ps7uAoAI&ved=0ahUKEwiftMnE0Y6JAxVIBfsDHbMdACQQ4dUDCA8&uact=5&oq=intellij+idea+failing+to+run+test+in+module+project&gs_lp=Egxnd3Mtd2l6LXNlcnAiM2ludGVsbGlqIGlkZWEgZmFpbGluZyB0byBydW4gdGVzdCBpbiBtb2R1bGUgcHJvamVjdDIFECEYnwVIyjdQ7QNY_TNwAXgBkAEAmAGjAaABjBOqAQQwLjE4uAEDyAEA-AEBmAIToALFE8ICChAAGLADGNYEGEfCAgcQIRigARgKwgIEECEYFZgDAIgGAZAGCJIHBDEuMTigB6Vp&sclient=gws-wiz-serp

@FanJups FanJups added jsgenerator-test test module Testing todo Ticket that has to be done labels Oct 14, 2024
@FanJups
Copy link
Member Author

FanJups commented Oct 14, 2024

@FanJups
Copy link
Member Author

FanJups commented Oct 14, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jsgenerator-test test module Testing todo Ticket that has to be done
Projects
None yet
Development

No branches or pull requests

1 participant