cjstehno / ersatz

🤖 A simulated HTTP server for testing client code with configurable responses.
https://cjstehno.github.io/ersatz
Apache License 2.0
47 stars 5 forks source link

Cookie Tesing Features #44

Closed dwclark closed 7 years ago

dwclark commented 7 years ago

@cjstehno

1) Ability to specify more than key/value for cookies. Especially path and expiration would be very handy. 2) Ability to assert that cookies are not present in a request. This may be possible already with Hamcrest matchers. If so, I would like to add them to the http-builder-ng tests.

cjstehno commented 7 years ago

Fair enough. I considered supporting more of the cookie features during my initial implementation, but got lazy about it.

I should be able to get these in over the weekend.

dwclark commented 7 years ago

Let me know when it drops, I'm planning on expanding the cookie tests when it happens.