A
A
Alexey Verkhovtsev2018-01-04 14:00:22
PHP
Alexey Verkhovtsev, 2018-01-04 14:00:22

Ways to automatically run php unit tests?

Hello. Tests are cool, but I think it's wrong to run them manually. I would like to run tests there every night or every push, etc. Are there ready-made tools for this or do I need to write something for the terminal myself?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Tolmachev, 2018-01-04
@dark_tke

1. You can use cron to run every night,
2. There are webhooks to run when you update from the repository.
I don't see any point in scheduling. Only when upgrading from a turnip as part of the deployment process
It all depends on what and how you update

O
OnYourLips, 2018-01-04
@OnYourLips

gitlab ci
https://habrahabr.ru/post/344324/
There are also cloud services where you do not need to install anything.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question