vendredi 22 janvier 2016

Chef - How to handle files installed only for testing?

I have several files that will only be used during unit and integration testing and will never be used in production. These files are tgz files that an upstream process will ultimately create but I need to have them available in order to run my tests.

I realize that the "files" directory is where files deployed by recipes are stored but what about testing files? Do files for unit testing go into "spec/files" and for integration testing go under "test/files"?

Or should these files also get stored in "files/unit_test", etc.? How is this normally handled?

Aucun commentaire:

Enregistrer un commentaire