Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
8423945d
Commit
8423945d
authored
Feb 02, 2021
by
Alfonso Orta
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'staging'
Fixes for Coverage Testing See merge request
!28
parents
73bac257
a919d413
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
testing.py
bin/testing.py
+1
-1
requirements.txt
...ub/role-stage-discovery-microservice/app/requirements.txt
+1
-1
requirements.txt
...ta-hub/semantic-linking-microservice/app/requirements.txt
+1
-1
requirements.txt
...tion-hub/business-logic-microservice/app/requirements.txt
+1
-1
requirements.txt
src/rest-gateway/app/requirements.txt
+1
-1
requirements.txt
...-hub-in/trace-retrieval-microservice/app/requirements.txt
+1
-1
No files found.
bin/testing.py
View file @
8423945d
...
...
@@ -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
#resultCodeList.append(exit_val)
#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
))
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
...
...
src/data-hub/role-stage-discovery-microservice/app/requirements.txt
View file @
8423945d
...
...
@@ -8,6 +8,7 @@ Click==7.0
clickclick==1.2.2
colorama==0.4.3
connexion==2.6.0
coverage==5.3.1
cryptography==3.1
cycler==0.10.0
decorator==4.4.1
...
...
@@ -51,4 +52,3 @@ urllib3==1.25.8
Werkzeug==0.16.1
wrapt==1.11.2
zipp==2.1.0
coverage=5.3.1
src/data-hub/semantic-linking-microservice/app/requirements.txt
View file @
8423945d
...
...
@@ -7,6 +7,7 @@ click==7.1.2
clickclick==1.2.2
colorama==0.4.3
connexion==2.7.0
coverage==5.3.1
cryptography==3.1
Flask==1.1.2
idna==2.9
...
...
@@ -37,4 +38,3 @@ urllib3==1.25.9
Werkzeug==1.0.1
wrapt==1.12.1
zipp==3.1.0
coverage=5.3.1
\ No newline at end of file
src/participation-hub/business-logic-microservice/app/requirements.txt
View file @
8423945d
...
...
@@ -8,6 +8,7 @@ click==7.1.2
clickclick==1.2.2
colorama==0.4.3
connexion==2.7.0
coverage==5.3.1
cryptography==3.1
Flask==1.1.2
idna==2.10
...
...
@@ -39,4 +40,3 @@ urllib3==1.25.10
Werkzeug==1.0.1
wrapt==1.12.1
zipp==3.1.0
coverage=5.3.1
\ No newline at end of file
src/rest-gateway/app/requirements.txt
View file @
8423945d
...
...
@@ -9,6 +9,7 @@ click==7.1.2
clickclick==1.2.2
colorama==0.4.3
connexion==2.7.0
coverage==5.3.1
cryptography==2.9.2
Deprecated==1.2.10
Flask==1.1.2
...
...
@@ -44,4 +45,3 @@ urllib3==1.25.9
Werkzeug==1.0.1
wrapt==1.12.1
zipp==3.1.0
coverage=5.3.1
src/transaction-hub-in/trace-retrieval-microservice/app/requirements.txt
View file @
8423945d
...
...
@@ -7,6 +7,7 @@ click==7.1.2
clickclick==1.2.2
colorama==0.4.3
connexion==2.7.0
coverage==5.3.1
cryptography==3.1
Deprecated==1.2.10
Flask==1.1.2
...
...
@@ -38,4 +39,3 @@ urllib3==1.25.10
Werkzeug==1.0.1
wrapt==1.12.1
zipp==3.1.0
coverage=5.3.1
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment