4 ms·
>Testing an HTTP API involves running the server, and running a client against that. That's exactly what tools like Postman are used for. How are you doing any
by tmh88j 7y ago
>Testing an HTTP API involves running the server, and running a client against that.
That's exactly what tools like Postman are used for. How are you doing any testing during the development process if you're not hosting your web API even locally?
>I haven't tried it, but I think it'd be quite awkward to get a server setup from Postman
There's no need to as I mentioned that you're going to be hosting it somewhere during development anyway.
- jpdel 7y ago> There's no need to as I mentioned that you're going to be hosting it somewhere during development anyway. You will probably host 1 version which is infrastructure heavy and not very flexible. Take 10 developers working on the API. They all need to test their changes. Automatically if possible. Hosting external elements like the database and others is a pain eased by Docker.
- tmh88j 7y agoHmm, seems like the workflow you've described is a bottleneck leading to this. Wouldn't you have some kind of test/staging environment that is accessible for this purpose?