microsoft / microsoft/vscode-java-test
Question: how to run tests with properties from alternative pom file
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- TypeScript
- Estrellas
- 340
- Forks
- 173
- Merge medio
- 1 d 19 h
- PR fusionados (30 d)
- 18
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con la configuración del ejecutor de pruebas de Java para VS Code y compara su comportamiento al iniciar las pruebas con mvn clean install -f testsuite/integration-arquillian/pom.xml. Inspecciona las propiedades del testsuite/integration-arquillian/tests/pom.xml de Keycloak referenciado y determina si se puede seleccionar el POM alternativo. Se considera terminado cuando las pruebas de Arquillian se ejecutan desde VS Code con las propiedades requeridas.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java, vscode
- Área
- testing, tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100