node-s3-uploader icon indicating copy to clipboard operation
node-s3-uploader copied to clipboard

Example usage

Open Starefossen opened this issue 10 years ago • 3 comments

Some more examples on how to use the s3-uploader would be nice. Maybe in an example folder, that way we can more easily integrate them with the test suite making sure no example gets broken between releases.

Starefossen avatar Oct 16 '15 21:10 Starefossen

While figuring out the broken cache property in the readme was not working I was thinking about an examples folder as well yesterday!

anthonyringoet avatar Oct 17 '15 11:10 anthonyringoet

Do you mean a couple of functional tests that could serve as documentation as well? Like: is the image actually uploaded to path n on aws, are the cache headers actually set to n?

anthonyringoet avatar Oct 17 '15 15:10 anthonyringoet

Yes. The thought was to move the Integration Tests as separate examples in the example directory, and add some more usable examples as well, and have a way to integrate them back into the test suite.

Starefossen avatar Oct 17 '15 16:10 Starefossen