Coverage.py warning: No data was collected. (no-data-collected)

后端 未结 6 923
我在风中等你
我在风中等你 2020-12-15 16:40

I am trying to find the coverage using coverage module for a django project but gets

Coverage.py warning: No data was collected. (no-data-collected)
         


        
6条回答
  •  不思量自难忘°
    2020-12-15 17:13

    if you need to use 'source' in your .coveragerc, you can write as below

    [run]
    source = src
    omit = *migrations*, *tests*
    plugins = django_coverage_plugin
    

提交回复
热议问题