P
P
Pavel Gogolinsky2016-02-07 16:07:48
git
Pavel Gogolinsky, 2016-02-07 16:07:48

How to store in git and not deploy tests?

Tests have been written for the catalog site. All tests in git. The site is deployed using Git-Bitbucket-Capistrano. How to store tests in git but not deploy them to production?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Grachev, 2016-02-07
@Preemiere

Add to Capistrano so that the tests folder is deleted during deployment, otherwise they always deploy to the prod and lie there. Libraries for the test are not installed on the prod, as a rule there is nothing to run them there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question