Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Question: how to run tests with properties from alternative pom file

Aperta
#1,365 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
java, vscode
Ambito
testing, tooling

Direzione di ricerca

Inizia con la configurazione del test runner Java per VS Code e confronta il suo comportamento di avvio dei test con mvn clean install -f testsuite/integration-arquillian/pom.xml. Ispeziona le proprietà del testsuite/integration-arquillian/tests/pom.xml di Keycloak indicato e determina se è possibile selezionare il POM alternativo. Il lavoro è completato quando i test Arquillian vengono eseguiti da VS Code con le proprietà richieste.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

ai-triaged enhancement junit low-priority maven question test-execution

I'm trying to run tests for a project which uses Arquillian integration test framework. The project has an alternative pom.xml file (outside of the root dir of the project) which should be used when runninng tests via maven

mvn clean install -f testsuite/integration-arquillian/pom.xml

but when running tests from vscode, I get exceptions/errors that seem like I'm missing all the mandatory default properties that are defined in the pom files but are missing when running tests via vscode.

Would you have any pointers for me on how to setup Java test runner for vscode for a project like this? I'd appreciate any help!

The project I'm working with is keycloak and the pom with the (apparently ignored) properties is testsuite/integration-arquillian/tests/pom.xml.

Lingua principale
TypeScript
Stelle
340
Fork
173
Merge medio
1g 2h
PR unite (30g)
17

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/vscode-java-test

Tutte le issue di microsoft/vscode-java-test

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.