microsoft / microsoft/vscode-java-test
Question: how to run tests with properties from alternative pom file
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 340
- Fork
- 173
- Merge medio
- 1g 19h
- PR unite (30g)
- 18
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
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.
Valutazione
- Stack tecnologico
- java, vscode
- Ambito
- testing, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100