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

Unable to Run Test in a Gradle Build #28491

Open
2 tasks
vw98075 opened this issue Jan 16, 2025 · 1 comment
Open
2 tasks

Unable to Run Test in a Gradle Build #28491

vw98075 opened this issue Jan 16, 2025 · 1 comment

Comments

@vw98075
Copy link
Contributor

vw98075 commented Jan 16, 2025

Overview of the issue
JHipster info

After running a test, I will get the following error:

:webapp_test
  No test found in suite Handles
  Process 'command'/home/me/workspace/myapp/.gradle/npm/npm-v11.0.0/bin/npm" finished with non-zero exit value 1
.yo-rc.json file
{
  "generator-jhipster": {
    "applicationType": "monolith",
    "authenticationType": "jwt",
    "baseName": "myapp",
    "buildTool": "gradle",
    "cacheProvider": "ehcache",
    "clientFramework": "vue",
    "clientTestFrameworks": [],
    "clientTheme": "spacelab",
    "clientThemeVariant": "light",
    "creationTimestamp": 1736380134929,
    "databaseType": "sql",
    "devDatabaseType": "h2Memory",
    "enableGradleEnterprise": false,
    "enableHibernateCache": true,
    "enableTranslation": true,
    "entities": [
  ...
    ],
    "feignClient": null,
    "gradleEnterpriseHost": null,
    "jhipsterVersion": "8.8.0",
    "languages": [
      "en"
    ],
    "lastLiquibaseTimestamp": 1736380440000,
    "microfrontend": null,
    "microfrontends": [],
    "nativeLanguage": "en",
    "packageName": "com.abc.myapp",
    "prodDatabaseType": "postgresql",
    "reactive": false,
    "serverPort": null,
    "serviceDiscoveryType": null,
    "syncUserWithIdp": null,
    "testFrameworks": [],
    "websocket": "spring-websocket",
    "withAdminUi": true
  }
}
Environment and Tools

java version "23.0.1" 2024-10-15
Java(TM) SE Runtime Environment (build 23.0.1+11-39)
Java HotSpot(TM) 64-Bit Server VM (build 23.0.1+11-39, mixed mode, sharing)

git version 2.20.1

node: v20.6.1
npm: 10.9.0

Docker version 19.03.8, build 1b4342cd4c

JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions
...
Motivation for or Use Case
Reproduce the error
Related issues
Suggest a Fix
JHipster Version(s)

8.8.0

Browsers and Operating System
  • Tickets opened without reproduction steps or that doesn't follows the template recommendation will be closed.
  • Checking this box is mandatory (this is just to show you read everything)
Copy link
Contributor

github-actions bot commented Jan 23, 2025

Issue check: JHipster has completed the sample check

Check Status
Frontend check
Backend check
E2E check

This check uses jhipster info or jdl output from the issue description to generate the sample.
Bug report that does not contain this information will be marked as invalid.

.yo-rc.json
{
  "generator-jhipster": {
    "applicationType": "monolith",
    "authenticationType": "jwt",
    "baseName": "myapp",
    "buildTool": "gradle",
    "cacheProvider": "ehcache",
    "clientFramework": "vue",
    "clientTestFrameworks": [],
    "clientTheme": "spacelab",
    "clientThemeVariant": "light",
    "creationTimestamp": 1736380134929,
    "databaseType": "sql",
    "devDatabaseType": "h2Memory",
    "enableGradleEnterprise": false,
    "enableHibernateCache": true,
    "enableTranslation": true,
    "entities": [
  ...
    ],
    "feignClient": null,
    "gradleEnterpriseHost": null,
    "jhipsterVersion": "8.8.0",
    "languages": [
      "en"
    ],
    "lastLiquibaseTimestamp": 1736380440000,
    "microfrontend": null,
    "microfrontends": [],
    "nativeLanguage": "en",
    "packageName": "com.abc.myapp",
    "prodDatabaseType": "postgresql",
    "reactive": false,
    "serverPort": null,
    "serviceDiscoveryType": null,
    "syncUserWithIdp": null,
    "testFrameworks": [],
    "websocket": "spring-websocket",
    "withAdminUi": true
  }
}
entities.jdl
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants