mws-advanced icon indicating copy to clipboard operation
mws-advanced copied to clipboard

create a mock mws server code to test mws-advanced (and mws-simple) without live data

Open ericblade opened this issue 8 years ago • 1 comments

We should be able to use the example outputs from the MWS documentation to put together a library of data to test many things without going live.

We can also use that to validate that completely unexpected things like server 503's or whatever, don't completely blow up the libraries.

This probably actually should be filed into mws-simple, then both libs can take advantage of it. I posted it to mws-advanced since there are more people visiting this repo than that repo.

ericblade avatar Jan 17 '18 04:01 ericblade

... for what it's worth, the PHP APIs to each of the MWS functions have mocked dummy data available for most calls. It doesn't seem to provide a server, per se, rather it stubs the interface to get the data locally instead of from the remote.

ericblade avatar Apr 27 '18 18:04 ericblade