Commit 8423945d authored by Alfonso Orta's avatar Alfonso Orta

Merge branch 'develop' into 'staging'

Fixes for Coverage Testing

See merge request !28
parents 73bac257 a919d413
...@@ -38,7 +38,7 @@ for (dirname, dirs, files) in os.walk(ROOT): ...@@ -38,7 +38,7 @@ for (dirname, dirs, files) in os.walk(ROOT):
exit_val = os.system(f"{PY} -m pip install -r ../requirements.txt") # install pip dependencies exit_val = os.system(f"{PY} -m pip install -r ../requirements.txt") # install pip dependencies
#resultCodeList.append(exit_val) #resultCodeList.append(exit_val)
#exit_val = os.system(f"{PY} -m unittest discover") # execute the tests #exit_val = os.system(f"{PY} -m unittest discover") # execute the tests
exit_val = os.system(f"coverage run --append --omit=*/site-packages* -m unittest discover") #TEST CODE COVERAGE exit_val = os.system(f"coverage run --append --omit=*/site-packages*,*/dist-packages* -m unittest discover") #TEST CODE COVERAGE
coverage_paths_set.add(os.path.normpath(dirname)) coverage_paths_set.add(os.path.normpath(dirname))
resultCodeList.append(exit_val) #once per folder i.e if 3 tests are in a folder and crash, there will be just one exit val resultCodeList.append(exit_val) #once per folder i.e if 3 tests are in a folder and crash, there will be just one exit val
......
...@@ -8,6 +8,7 @@ Click==7.0 ...@@ -8,6 +8,7 @@ Click==7.0
clickclick==1.2.2 clickclick==1.2.2
colorama==0.4.3 colorama==0.4.3
connexion==2.6.0 connexion==2.6.0
coverage==5.3.1
cryptography==3.1 cryptography==3.1
cycler==0.10.0 cycler==0.10.0
decorator==4.4.1 decorator==4.4.1
...@@ -51,4 +52,3 @@ urllib3==1.25.8 ...@@ -51,4 +52,3 @@ urllib3==1.25.8
Werkzeug==0.16.1 Werkzeug==0.16.1
wrapt==1.11.2 wrapt==1.11.2
zipp==2.1.0 zipp==2.1.0
coverage=5.3.1
...@@ -7,6 +7,7 @@ click==7.1.2 ...@@ -7,6 +7,7 @@ click==7.1.2
clickclick==1.2.2 clickclick==1.2.2
colorama==0.4.3 colorama==0.4.3
connexion==2.7.0 connexion==2.7.0
coverage==5.3.1
cryptography==3.1 cryptography==3.1
Flask==1.1.2 Flask==1.1.2
idna==2.9 idna==2.9
...@@ -37,4 +38,3 @@ urllib3==1.25.9 ...@@ -37,4 +38,3 @@ urllib3==1.25.9
Werkzeug==1.0.1 Werkzeug==1.0.1
wrapt==1.12.1 wrapt==1.12.1
zipp==3.1.0 zipp==3.1.0
coverage=5.3.1
\ No newline at end of file
...@@ -8,6 +8,7 @@ click==7.1.2 ...@@ -8,6 +8,7 @@ click==7.1.2
clickclick==1.2.2 clickclick==1.2.2
colorama==0.4.3 colorama==0.4.3
connexion==2.7.0 connexion==2.7.0
coverage==5.3.1
cryptography==3.1 cryptography==3.1
Flask==1.1.2 Flask==1.1.2
idna==2.10 idna==2.10
...@@ -39,4 +40,3 @@ urllib3==1.25.10 ...@@ -39,4 +40,3 @@ urllib3==1.25.10
Werkzeug==1.0.1 Werkzeug==1.0.1
wrapt==1.12.1 wrapt==1.12.1
zipp==3.1.0 zipp==3.1.0
coverage=5.3.1
\ No newline at end of file
...@@ -9,6 +9,7 @@ click==7.1.2 ...@@ -9,6 +9,7 @@ click==7.1.2
clickclick==1.2.2 clickclick==1.2.2
colorama==0.4.3 colorama==0.4.3
connexion==2.7.0 connexion==2.7.0
coverage==5.3.1
cryptography==2.9.2 cryptography==2.9.2
Deprecated==1.2.10 Deprecated==1.2.10
Flask==1.1.2 Flask==1.1.2
...@@ -44,4 +45,3 @@ urllib3==1.25.9 ...@@ -44,4 +45,3 @@ urllib3==1.25.9
Werkzeug==1.0.1 Werkzeug==1.0.1
wrapt==1.12.1 wrapt==1.12.1
zipp==3.1.0 zipp==3.1.0
coverage=5.3.1
...@@ -7,6 +7,7 @@ click==7.1.2 ...@@ -7,6 +7,7 @@ click==7.1.2
clickclick==1.2.2 clickclick==1.2.2
colorama==0.4.3 colorama==0.4.3
connexion==2.7.0 connexion==2.7.0
coverage==5.3.1
cryptography==3.1 cryptography==3.1
Deprecated==1.2.10 Deprecated==1.2.10
Flask==1.1.2 Flask==1.1.2
...@@ -38,4 +39,3 @@ urllib3==1.25.10 ...@@ -38,4 +39,3 @@ urllib3==1.25.10
Werkzeug==1.0.1 Werkzeug==1.0.1
wrapt==1.12.1 wrapt==1.12.1
zipp==3.1.0 zipp==3.1.0
coverage=5.3.1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment