◄ ► | Muuda | Home | Admin | en de fr et | Sign in

#2650 (Running inv test via python (for coverage))

by tonis · in Developers

Kokkuvõte

In the react tutorial there's a nifty command for running the django tests (pm test) and have coverage scan for coverage `coverage run --source="." manage.py test`.

However the entry point needs to be python for it to scan for coverage. so running: `coverage run --source="." inv test` doesn't work, nor does creating a simple python script that calls inv prep via subprocess.

Is there a way to call atelier's test command via the tasks.py file or something?

Children

Kommentaarid