@@ -307,9 +307,9 @@ def test_run_with_real_tests(wd_tmp_path: Path) -> None:
307
307
┃ Target ┃ Success ┃ Line Coverage ┃ Branch Coverage ┃ Mutation Score ┃
308
308
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
309
309
│ example1.py │ ✔ │ 44.44 % │ 25.00 % │ 62.50 % │
310
- │ example2.py │ ✖ │ 0.00 % │ 0 .00 % │ 0.00 % │
310
+ │ example2.py │ ✖ │ 0.00 % │ 100 .00 % │ 0.00 % │
311
311
│ sub_example/__init__.py │ ✖ │ 0.00 % │ 0.00 % │ 0.00 % │
312
- │ sub_example/example3.py │ ✔ │ 100.00 % │ 0 .00 % │ 0.00 % │
312
+ │ sub_example/example3.py │ ✔ │ 100.00 % │ 100 .00 % │ 0.00 % │
313
313
├─────────────────────────┼─────────┼───────────────┼─────────────────┼────────────────┤
314
314
│ Total │ 50.00 % │ 38.89 % │ 16.67 % │ 45.45 % │
315
315
└─────────────────────────┴─────────┴───────────────┴─────────────────┴────────────────┘
@@ -341,9 +341,9 @@ def test_run_with_real_tests(wd_tmp_path: Path) -> None:
341
341
"mutation score,mutants,killed mutants"
342
342
),
343
343
"example1.py,1.0,1,1,0.4444444444444444,9,4,0.25,4,1,0.625,8,5" ,
344
- "example2.py,0.0,1,0,0.0,2,0,0 .0,0,0,0.0,1,0" ,
344
+ "example2.py,0.0,1,0,0.0,2,0,1 .0,0,0,0.0,1,0" ,
345
345
"sub_example/__init__.py,0.0,1,0,0.0,4,0,0.0,2,0,0.0,1,0" ,
346
- "sub_example/example3.py,1.0,1,1,1.0,3,3,0 .0,0,0,0.0,1,0" ,
346
+ "sub_example/example3.py,1.0,1,1,1.0,3,3,1 .0,0,0,0.0,1,0" ,
347
347
"total,0.5,4,2,0.3888888888888889,18,7,0.16666666666666666,6,1,0.45454545454545453,11,5" ,
348
348
)
349
349
targets = (TARGETS_DIR / "sub_example" / "example3.py" , TARGETS_DIR / "example1.py" )
@@ -363,9 +363,9 @@ def test_run_with_different_targets_and_dummy(wd_tmp_path: Path) -> None:
363
363
┃ Target ┃ Success ┃ Line Coverage ┃ Branch Coverage ┃ Mutation Score ┃
364
364
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
365
365
│ example1.py │ ✔ │ 0.00 % │ 0.00 % │ 0.00 % │
366
- │ example2.py │ ✔ │ 0.00 % │ 0 .00 % │ 0.00 % │
366
+ │ example2.py │ ✔ │ 0.00 % │ 100 .00 % │ 0.00 % │
367
367
│ sub_example/__init__.py │ ✔ │ 0.00 % │ 0.00 % │ 0.00 % │
368
- │ sub_example/example3.py │ ✔ │ 0.00 % │ 0 .00 % │ 0.00 % │
368
+ │ sub_example/example3.py │ ✔ │ 0.00 % │ 100 .00 % │ 0.00 % │
369
369
├─────────────────────────┼──────────┼───────────────┼─────────────────┼────────────────┤
370
370
│ Total │ 100.00 % │ 0.00 % │ 0.00 % │ 0.00 % │
371
371
└─────────────────────────┴──────────┴───────────────┴─────────────────┴────────────────┘
@@ -399,9 +399,9 @@ def test_run_with_different_targets_and_dummy(wd_tmp_path: Path) -> None:
399
399
"mutation score,mutants,killed mutants"
400
400
),
401
401
"example1.py,1.0,1,1,0.0,9,0,0.0,4,0,0.0,8,0" ,
402
- "example2.py,1.0,1,1,0.0,2,0,0 .0,0,0,0.0,1,0" ,
402
+ "example2.py,1.0,1,1,0.0,2,0,1 .0,0,0,0.0,1,0" ,
403
403
"sub_example/__init__.py,1.0,1,1,0.0,4,0,0.0,2,0,0.0,1,0" ,
404
- "sub_example/example3.py,1.0,1,1,0.0,3,0,0 .0,0,0,0.0,1,0" ,
404
+ "sub_example/example3.py,1.0,1,1,0.0,3,0,1 .0,0,0,0.0,1,0" ,
405
405
"total,1.0,4,4,0.0,18,0,0.0,6,0,0.0,11,0" ,
406
406
)
407
407
targets = (
@@ -438,9 +438,9 @@ def test_run_with_different_targets_and_results(wd_tmp_path: Path) -> None:
438
438
┃ Target ┃ Success ┃ Line Coverage ┃ Branch Coverage ┃ Mutation Score ┃
439
439
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
440
440
│ example1.py │ ✖ │ 0.00 % │ 0.00 % │ 0.00 % │
441
- │ example2.py │ ✖ │ 0.00 % │ 0 .00 % │ 0.00 % │
441
+ │ example2.py │ ✖ │ 0.00 % │ 100 .00 % │ 0.00 % │
442
442
│ sub_example/__init__.py │ ✔ │ 0.00 % │ 0.00 % │ 0.00 % │
443
- │ sub_example/example3.py │ ✔ │ 0.00 % │ 0 .00 % │ 0.00 % │
443
+ │ sub_example/example3.py │ ✔ │ 0.00 % │ 100 .00 % │ 0.00 % │
444
444
├─────────────────────────┼─────────┼───────────────┼─────────────────┼────────────────┤
445
445
│ Total │ 50.00 % │ 0.00 % │ 0.00 % │ 0.00 % │
446
446
└─────────────────────────┴─────────┴───────────────┴─────────────────┴────────────────┘
@@ -471,9 +471,9 @@ def test_run_with_different_targets_and_results(wd_tmp_path: Path) -> None:
471
471
"mutation score,mutants,killed mutants"
472
472
),
473
473
"example1.py,0.0,1,0,0.0,9,0,0.0,4,0,0.0,8,0" ,
474
- "example2.py,0.0,1,0,0.0,2,0,0 .0,0,0,0.0,1,0" ,
474
+ "example2.py,0.0,1,0,0.0,2,0,1 .0,0,0,0.0,1,0" ,
475
475
"sub_example/__init__.py,1.0,1,1,0.0,4,0,0.0,2,0,0.0,1,0" ,
476
- "sub_example/example3.py,1.0,1,1,0.0,3,0,0 .0,0,0,0.0,1,0" ,
476
+ "sub_example/example3.py,1.0,1,1,0.0,3,0,1 .0,0,0,0.0,1,0" ,
477
477
"total,0.5,4,2,0.0,18,0,0.0,6,0,0.0,11,0" ,
478
478
)
479
479
targets = (
0 commit comments