GoogleCloudPlatform / GoogleCloudPlatform/google-cloud-eclipse
Refactor UI-based tests to avoid duplication in pom.xml settings
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Java
- Sterne
- 90
- Forks
- 52
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Vergleiche die pom.xml-Dateien für com.google.cloud.tools.eclipse.integration.appengine und com.google.cloud.tools.eclipse.appengine.newproject.test und konzentriere dich dabei auf deren tycho-surefire-plugin-Einstellungen und Target-Platform-Definitionen. Prüfe die beiden vorgeschlagenen Maven- oder Eclipse-Feature-Ansätze und bestätige anschließend, dass die gemeinsame workbench-test-Konfiguration einmal definiert ist und beide Module ihre Tests weiterhin erfolgreich ausführen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- build-system
- Issue-Typ
- Refactoring
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100