microsoft / spring-data-cosmosdb

Access data with Azure Cosmos DB
MIT License
93 stars 68 forks source link

Optimized test resources #430

Closed kushagraThapar closed 4 years ago

kushagraThapar commented 4 years ago

Updated tests setup calls to re-use existing templates, clients, databases and collections.

Improves CI by 10x factor.

Integrated issue: https://github.com/microsoft/spring-data-cosmosdb/issues/429

codecov-io commented 4 years ago

Codecov Report

Merging #430 into master will increase coverage by 0.5%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #430     +/-   ##
=========================================
+ Coverage    73.7%   74.21%   +0.5%     
=========================================
  Files          46       46             
  Lines        1373     1373             
  Branches      154      154             
=========================================
+ Hits         1012     1019      +7     
+ Misses        279      269     -10     
- Partials       82       85      +3
Impacted Files Coverage Δ
.../spring/data/cosmosdb/core/DocumentDbTemplate.java 86.47% <100%> (-1.6%) :arrow_down:
...ing/data/cosmosdb/core/ReactiveCosmosTemplate.java 77.91% <100%> (+6.57%) :arrow_up:

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 4886608...08d1ee4. Read the comment docs.