vscode-gradle icon indicating copy to clipboard operation
vscode-gradle copied to clipboard

support test-sharing module

Open nospam06 opened this issue 3 years ago • 4 comments

Extension Name: vscode-gradle Extension Version: OS Version: VSCode version:

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Output from "Gradle for Java" You can find this by clicking on the "Output" panel, then selecting the "Gradle for Java" channel from the dropdown.

Does the bug still exist if you disable all other extensions? Yes/No

Additional context Add any other context about the problem here.

nospam06 avatar Jan 18 '22 00:01 nospam06

could you provide any details, examples or introductions?

CsCherrYY avatar Jan 19 '22 03:01 CsCherrYY

https://github.com/nospam06/gradleSample vscode cannot open this project. i have test sharing modules to instantiate spring beans. both intellij and gradle command line can do the build correctly [{ "resource": "/home/ling/source/gradleSample/app", "owner": "generated_diagnostic_collection_name#3", "code": "1001", "severity": 8, "message": "One or more cycles were detected in the build path of project 'app'. The paths towards the cycle and cycle are:\napp->{test-share, business-logic}\napp->{test-share, business-logic, utilities}\napp, test-share->{business-logic, utilities}", "source": "Java", "startLineNumber": 1, "startColumn": 1, "endLineNumber": 1, "endColumn": 1 }]

nospam06 avatar Jan 29 '22 23:01 nospam06

@CsCherrYY

nospam06 avatar Feb 05 '22 23:02 nospam06

@nospam06 get it, I'll take a look

CsCherrYY avatar Feb 08 '22 02:02 CsCherrYY

gradle has testFixture to accomplish sharing test code. Will close this issue.

nospam06 avatar Apr 13 '24 12:04 nospam06