samedi 31 janvier 2015

What is a right way to deal with tests, temporary files and version control

I use Ruby for writing a code, test it with Cucumber and Rspec and control versions with Git. But here are some unclear things for me. E.g. temporary files, created by tests. I don't want to track their changes with every commit. So, what way I should use for that:



  1. Locate temporary files inside project folder and use some Git tricks for ignoring changes. gitignore is not useful, because I need some files to be in the place, when tests are started.

  2. Locate temporary files in the /tmp. It gives some unclear for test environment, though.

  3. Any other ways deal with that?


Aucun commentaire:

Enregistrer un commentaire