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

Add standalone integration test for MongoDB repositories #262

Merged
merged 4 commits into from
Nov 21, 2022

Conversation

mocsharp
Copy link
Collaborator

@mocsharp mocsharp commented Nov 18, 2022

Description

  • Integration test for MongoDB repositories
  • User guide to configure database

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • All tests passed locally.
  • Documentation comments included/updated.
  • User guide updated.
  • I have updated the changelog

Signed-off-by: Victor Chang <vicchang@nvidia.com>
@mocsharp mocsharp added documentation Improvements or additions to documentation testing Automated Tests, Unit Tests labels Nov 18, 2022
@mocsharp mocsharp added this to the 0.3.4 milestone Nov 18, 2022
@mocsharp mocsharp self-assigned this Nov 18, 2022
Signed-off-by: Victor Chang <vicchang@nvidia.com>
@codecov
Copy link

codecov bot commented Nov 18, 2022

Codecov Report

Merging #262 (5f61b11) into develop (ff677ce) will increase coverage by 3.67833%.
The diff coverage is 99.25187%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##             develop        #262         +/-   ##
===================================================
+ Coverage   81.82181%   85.50014%   +3.67833%     
===================================================
  Files            304         312          +8     
  Lines          17554       18345        +791     
  Branches         883         893         +10     
===================================================
+ Hits           14363       15685       +1322     
+ Misses          2920        2367        -553     
- Partials         271         293         +22     
Flag Coverage Δ
unittests 85.50014% <99.25187%> (+3.67833%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...rc/Database/Api/Test/StorageMetadataWrapperTest.cs 100.00000% <ø> (ø)
.../EntityFramework/Repositories/PayloadRepository.cs 84.84848% <ø> (+84.84847%) ⬆️
...base/EntityFramework/Test/SqliteDatabaseFixture.cs 96.29630% <ø> (ø)
...Database/MongoDB/Repositories/PayloadRepository.cs 82.66667% <ø> (+82.66666%) ⬆️
...tion.Test/SourceApplicationEntityRepositoryTest.cs 98.63014% <98.63014%> (ø)
...Test/DestinationApplicationEntityRepositoryTest.cs 98.70130% <98.70130%> (ø)
...ation.Test/MonaiApplicationEntityRepositoryTest.cs 98.76543% <98.76543%> (ø)
...base/EntityFramework/Test/PayloadRepositoryTest.cs 99.09091% <99.09091%> (ø)
.../MongoDB/Integration.Test/PayloadRepositoryTest.cs 99.10714% <99.10714%> (ø)
...ation.Test/StorageMetadataWrapperRepositoryTest.cs 99.30556% <99.30556%> (ø)
... and 18 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff677ce...5f61b11. Read the comment docs.

Signed-off-by: Victor Chang <vicchang@nvidia.com>
Signed-off-by: Victor Chang <vicchang@nvidia.com>
@mocsharp mocsharp merged commit fcd0247 into develop Nov 21, 2022
@mocsharp mocsharp deleted the vchnag/mongo-docs branch November 21, 2022 15:37
@mocsharp mocsharp removed the testing Automated Tests, Unit Tests label Nov 21, 2022
@github-actions
Copy link

🎉 This issue has been resolved in version 0.3.4 🎉

The release is available on:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants