[ODLPARENT-257] Allow SFT to use a test-only dependency Created: 13/Sep/21 Updated: 01/Dec/23 Resolved: 01/Dec/23 |
|
| Status: | Resolved |
| Project: | odlparent |
| Component/s: | SFT |
| Affects Version/s: | None |
| Fix Version/s: | 13.0.8 |
| Type: | New Feature | Priority: | High |
| Reporter: | Robert Varga | Assignee: | Ruslan Kashapov |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
We have a few features which cannot be tested as they bind to an implementation of an interface – and our current packaging includes inversions here, where the canonical implementation resides in a downstream project (controller) and hence upstream (mdsal) cannot fully test its features. Add the ability to specify test-only feature dependencies, which are loaded as an alternative implementation for testing these. |
| Comments |
| Comment by Robert Varga [ 24/Jan/23 ] |
|
Configuring test-only dependencies should be trivial with a plugin – just look at scope=test dependencies and propagate to pax-exam. |