Free-Nations-Region / CyborgianStates

A (Discord-) Bot for all needs of a Region in NationStates
MIT License
0 stars 1 forks source link

User repository db seeding #56

Closed drehtisch closed 4 years ago

drehtisch commented 4 years ago

Description

Introducing Database Connection & UserRepository using Dapper

Motivation and Context

This changes are required for beeing able to store user data in database.

How Has This Been Tested?

Unit Tests.

Screenshots (if appropriate):

Types of changes

Checklist:

codecov[bot] commented 4 years ago

Codecov Report

Merging #56 into master will increase coverage by 11.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #56       +/-   ##
===========================================
+ Coverage   71.80%   82.83%   +11.02%     
===========================================
  Files          21       22        +1     
  Lines         610      664       +54     
  Branches       61       72       +11     
===========================================
+ Hits          438      550      +112     
+ Misses        168      112       -56     
+ Partials        4        2        -2     
Impacted Files Coverage Δ
CyborgianStates/Commands/NationStatsCommand.cs 0.00% <ø> (ø)
CyborgianStates/Launcher.cs 100.00% <ø> (ø)
...tes/CommandHandling/NationStatesApiRequestQueue.cs 100.00% <100.00%> (+86.27%) :arrow_up:
CyborgianStates/CommandHandling/Request.cs 100.00% <100.00%> (ø)
CyborgianStates/Program.cs 100.00% <100.00%> (+7.69%) :arrow_up:
CyborgianStates/Repositories/UserRepository.cs 100.00% <100.00%> (ø)
CyborgianStates/Services/BotService.cs 98.59% <100.00%> (+16.92%) :arrow_up:
...rgianStates/Services/NationStatesApiDataService.cs 100.00% <100.00%> (ø)
... and 2 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 a769101...5408840. Read the comment docs.