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:
- 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. - Locate temporary files in the
/tmp
. It gives some unclear for test environment, though. - Any other ways deal with that?
Aucun commentaire:
Enregistrer un commentaire