3 ms·
I just use asynchronous tests? Is there more to it?
by benologist 12y ago
I just use asynchronous tests? Is there more to it?
- webmaven 12y agoWell, do you just use something like requests to make an HTTP call (or a series of them) and examine JSON or XML results (which seems tedious to me), or do you have a higher level library that understands resources, links, etc.?
- benologist 12y agoI just make requests: https://github.com/playtomic/gameapi-as3/blob/master/src/com/playtomic/as3/TestLeaderboards.as https://github.com/playtomic/gameapi-as3/blob/master/src/com... plus complemented by tests on the server as well: https://github.com/playtomic/apiserver/blob/master/tests/leaderboards.js https://github.com/playtomic/apiserver/blob/master/tests/lea... and generally test functionality + output format.