bastion-dev / Bastion

Java test library for HTTP APIs
http://bastion.rocks
GNU General Public License v3.0
13 stars 8 forks source link

Response Views #88

Closed KPull closed 7 years ago

KPull commented 7 years ago

Related issue: #44.

In this pull request, I added the concept of views to Bastion to reduce the problems with using bind(). Now, bind() will work better because Bastion will attempt to extract as many views of the same response as possible. All these views will be available for binding to a model.

Also, all the extracted views will be available using getView() after the call() method during a test.

KPull commented 7 years ago

I'm merging this pull request since it's been open for quite a while now.