[BUILD-421] PPOM profile to run decentralized IT/UI tests Created: 19/Nov/20  Updated: 02/Sep/21  Resolved: 03/Dec/20

Status: Closed
Project: Build
Component/s: Poms
Affects Version/s: None
Fix Version/s: POMs 41

Type: Task Priority: Neutral
Reporter: Maxime Michel Assignee: Maxime Michel
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLCE-272 Use the new integration-tests Maven p... Closed
is related to MGNLTEST-134 Use the new integration-tests Maven p... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: Improve QA setup

 Description   

Using PPOM 40, decentralized IT/UI tests currently run by default. That is great on Jenkins, but inconvenient on a local machine, for instance when doing a release.

The goal of this ticket is to:

  • disable IT/UI test execution by default
  • add a PPOM profile that allows to run them
  • that profile should look for said tests under src/it/java
  • make the moduleUiTestsPipeline use the profile


 Comments   
Comment by Mikaël Geljić [ 15/Mar/21 ]

Introduced an integration-tests maven profile:

  • Configures the failsafe execution (not part of default lifecycle)
  • Includes IT classes by package include it/*/.java — yes, ITs are distinguished by residing in an it top-level package, e.g. it.info.magnolia.sso.SsoModuleIT, within the usual src/test/java.
    This was preferred over the separate source-root idea (src/it/java), because including/excluding test-classes is easier by path/package from the source roots, and much harder by physical location in which source-root a class resides.
  • Surefire uses the same path as package exclude. So each test-class is run by one and only one plugin.
Generated at Sun Feb 11 23:41:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.