ITISFoundation / osparc-simcore

🐼 osparc-simcore simulation framework
https://osparc.io
MIT License
44 stars 26 forks source link

πŸ”¨ New pytest-simcore `environment_config` fixtures and `utils_postgres` helpers #5909

Closed pcrespov closed 1 month ago

pcrespov commented 1 month ago

What do these changes do?

Here are some changes in pytest-simcore and servicelib that can be useful in many services. I have used them in some of the services as example and will do systematically with many more in different PRs

Related issue/s

How to test

in place

Dev-ops checklist

None

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.8%. Comparing base (cafbf96) to head (f015145). Report is 250 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5909/graphs/tree.svg?width=650&height=150&src=pr&token=h1rOE8q7ic&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation)](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5909?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) ```diff @@ Coverage Diff @@ ## master #5909 +/- ## ========================================= - Coverage 84.5% 78.8% -5.8% ========================================= Files 10 1165 +1155 Lines 214 48699 +48485 Branches 25 821 +796 ========================================= + Hits 181 38403 +38222 - Misses 23 10132 +10109 - Partials 10 164 +154 ``` | [Flag](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5909/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | Coverage Ξ” | | |---|---|---| | [integrationtests](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5909/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | `58.9% <ΓΈ> (?)` | | | [unittests](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5909/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | `78.7% <100.0%> (-5.8%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5909?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation) | Coverage Ξ” | | |---|---|---| | [...imcore\_service\_datcore\_adapter/api/module\_setup.py](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5909?src=pr&el=tree&filepath=services%2Fdatcore-adapter%2Fsrc%2Fsimcore_service_datcore_adapter%2Fapi%2Fmodule_setup.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation#diff-c2VydmljZXMvZGF0Y29yZS1hZGFwdGVyL3NyYy9zaW1jb3JlX3NlcnZpY2VfZGF0Y29yZV9hZGFwdGVyL2FwaS9tb2R1bGVfc2V0dXAucHk=) | `100.0% <100.0%> (ΓΈ)` | | ... and [1147 files with indirect coverage changes](https://app.codecov.io/gh/ITISFoundation/osparc-simcore/pull/5909/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ITISFoundation)
sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.2% Duplication on New Code

See analysis details on SonarCloud