add roadmap to stable

This commit is contained in:
Pavel 2021-05-20 19:30:31 +03:00
parent 7c62c096de
commit 03fc4e4c2a

View File

@ -109,3 +109,16 @@ XmlSerializerFactory::setSerializer($serializer);
``` ```
In order to use unsupported serializer you should create a decorator which implements `Pock\Serializer\SerializerInterface`. In order to use unsupported serializer you should create a decorator which implements `Pock\Serializer\SerializerInterface`.
# Roadmap to stable
- [ ] `at(N)` - execute mock only at Nth call.
- [ ] `after(N)` - allow mock execution only after Nth call (for using with repeat or always).
- [ ] `always()` - always execute this mock (removes mock expiration).
- [ ] Regexp matchers for body, query and path.
- [ ] Separate `UniversalMockException` into several exceptions (`PockClientException`, `PockNetworkException`, etc).
- [ ] Add methods for easier throwing of exceptions listed in previous entry.
- [ ] `replyCallback` - reply using specified callback.
- [ ] `replyFactory` - reply using specified response factory (provide corresponding interface).
- [ ] Compare XML bodies using `DOMDocument`, fallback to text comparison in case of problems.
- [ ] Document everything (with examples if its feasible).