Energinet-DataHub / ARCHIVED-geh-aggregations

This project aims to create an engine that is able to do calculations on billions of metering points and deliver the results within minutes
Apache License 2.0
2 stars 0 forks source link

Feature/616 unit test latest time series points #713

Closed johevemi closed 2 years ago

johevemi commented 2 years ago

Description

Make code in dataloader testable and create unit test for the two new functions

References

codecov[bot] commented 2 years ago

Codecov Report

Merging #713 (214af75) into main (32e7d06) will increase coverage by 9.88%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #713      +/-   ##
==========================================
+ Coverage   15.44%   25.32%   +9.88%     
==========================================
  Files          80      113      +33     
  Lines        1094     1520     +426     
  Branches      105      169      +64     
==========================================
+ Hits          169      385     +216     
- Misses        920     1106     +186     
- Partials        5       29      +24     
Impacted Files Coverage Δ
...re/Messaging/Serialization/ProtobufDeserializer.cs 0.00% <0.00%> (ø)
...ssaging/Registration/ProtobufOneOfConfiguration.cs 0.00% <0.00%> (ø)
...egistration/ServiceCollectionProtobufExtensions.cs 0.00% <0.00%> (ø)
...tructure/Serialization/Converters/UnitConverter.cs 71.42% <0.00%> (ø)
...gregations.Application/Extensions/EnumExtension.cs 58.82% <0.00%> (ø)
...onsumptionMeteringPointCreatedEventNamingPolicy.cs 100.00% <0.00%> (ø)
...umptionMeteringPointCreatedHandlerConfiguration.cs 0.00% <0.00%> (ø)
...IntegrationEventListener/Common/EventDataHelper.cs 90.90% <0.00%> (ø)
...cture/Serialization/Converters/ProductConverter.cs 71.42% <0.00%> (ø)
...rastructure/Mappers/EnergySupplierChangedMapper.cs 83.33% <0.00%> (ø)
... and 23 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information