scattenlaeufer / zapf-resotool

A bit of software to manage ZaPF resolutions
GNU Affero General Public License v3.0
4 stars 4 forks source link

Set tests up to spawn a Celery instance when testing #8

Open scattenlaeufer opened 5 years ago

scattenlaeufer commented 5 years ago

Starting a Celery instance and starting the tests should be one command. This could ether be achieved by creating a directive for the Makefile that starts a Celery worker before testing and stops it afterwards even when testing encounters errors.

Or the tests them self could spawn a Celery worker when it is required. This would have the added benefit of clearly differentiating between those parts of the app that require Celery and those who don't.