Graham Cox

Results 60 comments of Graham Cox

This would be really useful. Right now I'm using [`glob!` from Insta](https://insta.rs/docs/advanced/#globbing) which works great, but doesn't generate a new test for each file. That means that if one file...

It can - I improved the TypeScript support for that exact code myself. However, Ketting is designed for working with Hypermedia APIs, and it's a bit wasteful to use it...

In reality this would probably just mean changing: ``` if snapshot == prevSnapshot || takeV1Snapshot(i...) == prevSnapshot { ``` in `cupaloy.go` to use a configured diffing function instead of `==`....

Turns out, from having just looked at the code, the problem is more in the documentation than the code. If I use a configuration of: ``` javascript hal: { query:...

A slightly simpler version of this, which would be fantastically useful, would be to just be able to get the number of calls to a mock that was itself given...

So, my desire was to use Wiremock as a fake remote API for integration tests. So it would be set up without expectations to always act as the remote service,...

Go for it :) I've not had time to look at it yet!

It seems that a cleaner way of making this work would be to use the first parameter to the callback to specify a custom payload that can be sent. Either...

I can't work out how to actually send a custom payload on an unauthenticated status either though. If I do ``` javascript res.status.unauthenticated({'hello': 'world'}); ``` then the output is not...

Sorry - Real life! Yes, that additional parameter would pretty much solve it :)