PRX / meta.prx.org

Meta data for all PRX services and apps.
0 stars 0 forks source link

API-only tests #65

Open cavis opened 6 years ago

cavis commented 6 years ago

Move some of the current "wait for" tests in Publish to be API only. For speeeeed.

Example: instead of the Publish tests publishing a story and waiting for it to show up in Feeder, just use the CMS api to directly create/publish that story-json, and watch Feeder.

pkarman commented 6 years ago

I appreciate the desire for speed. Does bypassing the UI negate the integration test aspect though?

cavis commented 6 years ago

Yeah, agreed. I would probably vote for #64 to address speed before this one. We may get to a point where API-only integration testing makes sense (like supporting 3rd party apps on our APIs)... but not there yet.