Details
-
Task
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
Description
Context
We still have a good amount of JUnit4-tests in ce, dx-core which extend AbstractMagnoliaHtmlUnitTest.
Rececently a new test-class extending AbstractMagnoliaHtmlUnitTest has been added.
BUT we want to get rid of JUnit4-tests.
AbstractMagnoliaHtmlUnitTest, AbstractMagnoliaIntegrationTest will be - or already are deprecated.
This said - core-TF should offer a "utility", e.g. a Junit5-extension providing similar functionality like the AbstractMagnoliaHtmlUnitTest.
Please note that AbstractMagnoliaHtmlUnitTest exposes objects from com.gargoylesoftware.htmlunit. From architecture point if view, we should rather avoid this.
Ideas
Maybe the existing JUnit5-extension HttpClientSupport with its MagnoliaHttpClient can be extended to reach provide the function(s)
TBD
List of required functions ...
- Can evaluate redirection URL , e.g. see RedirectionBasicTest