Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage differs for 2nd test run #2122

Open
mtelka opened this issue Oct 17, 2024 · 0 comments
Open

Coverage differs for 2nd test run #2122

mtelka opened this issue Oct 17, 2024 · 0 comments

Comments

@mtelka
Copy link

mtelka commented Oct 17, 2024

  • Faker version: 30.6.0
  • OS: OpenIndiana

When I run Faker test twice in a row then I always see different coverage report. The difference seems to be always in two files, although they could be different with every try.

Steps to reproduce

  1. Run Faker tests
  2. Run Faker tests 2nd time
  3. Compare coverage reports between both runs

Expected behavior

The coverage report should be same with every test run.

Actual behavior

Here are two examples of differences I noticed:

@@ -2541,7 +2541,7 @@
 faker/providers/person/es/__init__.py                 3      0   100%
 faker/providers/person/es_AR/__init__.py             11      0   100%
 faker/providers/person/es_CA/__init__.py              5      0   100%
-faker/providers/person/es_CL/__init__.py             41      7    83%
+faker/providers/person/es_CL/__init__.py             41      5    88%
 faker/providers/person/es_CO/__init__.py             13      0   100%
 faker/providers/person/es_ES/__init__.py             11      0   100%
 faker/providers/person/es_MX/__init__.py              6      0   100%
@@ -2680,7 +2680,7 @@
 faker/providers/ssn/es_CA/__init__.py                 3      0   100%
 faker/providers/ssn/es_CL/__init__.py                29      3    90%
 faker/providers/ssn/es_CO/__init__.py                27      0   100%
-faker/providers/ssn/es_ES/__init__.py                52      0   100%
+faker/providers/ssn/es_ES/__init__.py                52      1    98%
 faker/providers/ssn/es_MX/__init__.py                77      2    97%
 faker/providers/ssn/et_EE/__init__.py                27      0   100%
 faker/providers/ssn/fi_FI/__init__.py                31      0   100%
@@ -2725,6 +2725,6 @@
 faker/utils/loading.py                               36      6    83%
 faker/utils/text.py                                  16      0   100%
 ---------------------------------------------------------------------
-TOTAL                                             10294    442    96%
+TOTAL                                             10294    441    96%
   py$(PYV): OK
   congratulations :)
@@ -2680,7 +2680,7 @@
 faker/providers/ssn/es_CA/__init__.py                 3      0   100%
 faker/providers/ssn/es_CL/__init__.py                29      3    90%
 faker/providers/ssn/es_CO/__init__.py                27      0   100%
-faker/providers/ssn/es_ES/__init__.py                52      0   100%
+faker/providers/ssn/es_ES/__init__.py                52      1    98%
 faker/providers/ssn/es_MX/__init__.py                77      2    97%
 faker/providers/ssn/et_EE/__init__.py                27      0   100%
 faker/providers/ssn/fi_FI/__init__.py                31      0   100%
@@ -2707,7 +2707,7 @@
 faker/providers/ssn/sk_SK/__init__.py                22      0   100%
 faker/providers/ssn/sl_SI/__init__.py                 5      1    80%
 faker/providers/ssn/sv_SE/__init__.py                45      0   100%
-faker/providers/ssn/th_TH/__init__.py                22      0   100%
+faker/providers/ssn/th_TH/__init__.py                22      1    95%
 faker/providers/ssn/tl_PH/__init__.py                 3      0   100%
 faker/providers/ssn/tr_TR/__init__.py                 7      4    43%
 faker/providers/ssn/uk_UA/__init__.py                31      0   100%
@@ -2725,6 +2725,6 @@
 faker/utils/loading.py                               36      6    83%
 faker/utils/text.py                                  16      0   100%
 ---------------------------------------------------------------------
-TOTAL                                             10294    442    96%
+TOTAL                                             10294    444    96%
   py$(PYV): OK
   congratulations :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant