[MGNLTEST-159] rest-assured to test-fwk Created: 22/Apr/21  Updated: 06/Sep/21  Resolved: 05/Aug/21

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 1d 4.25h
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLPN-550 Headless p13n REST integration tests Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: core-TF-features-bugs-improvements

 Description   

Context

https://rest-assured.io/ is a very useful fwk to test REST endpoints or to check resources which are served via REST.

In some of the new INT tests we use the MagnoliaRestCLient (which has the "adavantage" of being instance aware) and do assertions with com.jayway.jsonpath:json-path-assert

We should add/enable rest-assured to the test framework, in a way that makes it convenient to test REST resources in the Magnolia context - e.g. with convenient default, etc.

 

 



 Comments   
Comment by Christoph Meier [ 20/Jun/21 ]

I thought about adding some "convenience stuff" e.g. to for easy default, though haven't found a good way yet.
Maybe no need for it.
Hence the PR so far only contains the added dependency in the POM file.

Comment by Christoph Meier [ 05/Aug/21 ]

This ticket actually is obsolete now.

There is no need to add the sole library to the test-fwk.
The original plan to provide Magnolia specific convenience helpers/utils has been skipped.
We can add the library to the modules, where we run tests using rest-assured, when required.
The PR has been declined.

I close it herby

Generated at Mon Feb 12 07:46:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.