GoogleCloudPlatform / GoogleCloudPlatform/google-cloud-eclipse

Refactor UI-based tests to avoid duplication in pom.xml settings

Aperta
#710 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
cleanup priority: p4 testing
Lingua principale
Java
Stelle
90
Fork
52
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

`com.google.cloud.tools.eclipse.integration.appengine` and `com.google.cloud.tools.eclipse.appengine.newproject.test` both run tests that require the Eclipse workbench to be created, therefore both module's pom.xml contains the same configuration for `tycho-surefire-plugin` and almost identical target platform definition.

We should clean this up. Possible solutions:
- define an eclipse feature that contains the TP and just refer to that from the bundles that require it
- create a parent maven module, whose pom.xml contains these settings and any module that needs it would be a child of it thus inheriting the configuration

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Confronta i file pom.xml di com.google.cloud.tools.eclipse.integration.appengine e com.google.cloud.tools.eclipse.appengine.newproject.test, concentrandoti sulle impostazioni di tycho-surefire-plugin e sulle definizioni della piattaforma di destinazione. Esamina i due approcci proposti basati su Maven o su Eclipse feature, quindi conferma che la configurazione condivisa workbench-test sia definita una sola volta e che entrambi i moduli continuino a eseguire correttamente i test.

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

Valutazione

Stack tecnologico
java
Ambito
build-system
Tipo di issue
Refactoring
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.