File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -488,6 +488,8 @@ compatible with `Cobertura`_.
488
488
489
489
You can specify the name of the output file with the ``-o `` switch.
490
490
491
+ Other common reporting options are described above in :ref: `cmd_reporting `.
492
+
491
493
To include complete file paths in the output file, rather than just
492
494
the file name, use [include] vs [source] in your ".coveragerc" file.
493
495
@@ -505,9 +507,9 @@ which will result in
505
507
506
508
.. code :: xml
507
509
508
- <class branch-rate = " 0 " complexity = " 0 " filename =" bar/hello.py " line-rate = " 1 " name = " hello.py" >
509
- <class branch-rate = " 0 " complexity = " 0 " filename =" bar/baz/hello.py " line-rate = " 1 " name = " hello.py" >
510
- <class branch-rate = " 0 " complexity = " 0 " filename =" foo/hello.py " line-rate = " 1 " name = " hello.py" >
510
+ <class filename =" bar/hello.py" >
511
+ <class filename =" bar/baz/hello.py" >
512
+ <class filename =" foo/hello.py" >
511
513
512
514
in place of this:
513
515
@@ -522,12 +524,10 @@ which may result in
522
524
523
525
.. code :: xml
524
526
525
- <class branch-rate = " 0 " complexity = " 0 " filename = " hello.py " line-rate = " 1 " name =" hello.py" >
526
- <class branch-rate = " 0 " complexity = " 0 " filename =" baz/hello.py " line-rate = " 1 " name = " hello.py" >
527
+ <class filename =" hello.py" >
528
+ <class filename =" baz/hello.py" >
527
529
528
530
529
- Other common reporting options are described above in :ref: `cmd_reporting `.
530
-
531
531
532
532
.. _cmd_json :
533
533
You can’t perform that action at this time.
0 commit comments