microsoft / microsoft/vscode-java-test
Question: how to run tests with properties from alternative pom file
Personne n'a encore pris cette issue.
- Langage dominant
- TypeScript
- Étoiles
- 340
- Forks
- 173
- Merge moyen
- 1 j 19 h
- PR mergées (30 j)
- 18
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par la configuration du lanceur de tests Java pour VS Code et comparez son comportement de lancement des tests avec mvn clean install -f testsuite/integration-arquillian/pom.xml. Examinez les propriétés du testsuite/integration-arquillian/tests/pom.xml Keycloak référencé et déterminez si le POM alternatif peut être sélectionné. Le travail est terminé lorsque les tests Arquillian s’exécutent depuis VS Code avec les propriétés requises.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, vscode
- Domaine
- testing, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100