furiko-io / furiko

Kubernetes cron and batch job platform
https://furiko.io
Apache License 2.0
478 stars 21 forks source link

feat(execution): Add tests for JobConfigController, update JobReference fields #58

Closed irvinlim closed 2 years ago

irvinlim commented 2 years ago
codecov[bot] commented 2 years ago

Codecov Report

Merging #58 (d571be6) into main (c828eea) will increase coverage by 2.90%. The diff coverage is 81.13%.

@@            Coverage Diff             @@
##             main      #58      +/-   ##
==========================================
+ Coverage   57.27%   60.17%   +2.90%     
==========================================
  Files         165      166       +1     
  Lines        8318     8369      +51     
==========================================
+ Hits         4764     5036     +272     
+ Misses       3321     3097     -224     
- Partials      233      236       +3     
Impacted Files Coverage Δ
apis/execution/v1alpha1/jobconfig_types.go 100.00% <ø> (ø)
pkg/runtime/testing/action.go 72.41% <20.00%> (-10.92%) :arrow_down:
...tion/controllers/jobconfigcontroller/controller.go 35.29% <70.00%> (+35.29%) :arrow_up:
pkg/runtime/testing/reconciler.go 75.91% <71.42%> (-1.59%) :arrow_down:
pkg/runtime/testing/recorder.go 88.88% <88.88%> (ø)
apis/execution/v1alpha1/zz_generated.deepcopy.go 58.69% <100.00%> (+3.46%) :arrow_up:
...xecution/controllers/jobconfigcontroller/differ.go 100.00% <100.00%> (+100.00%) :arrow_up:
...tion/controllers/jobconfigcontroller/reconciler.go 85.96% <100.00%> (+85.96%) :arrow_up:
.../execution/controllers/jobconfigcontroller/util.go 100.00% <100.00%> (+100.00%) :arrow_up:
pkg/utils/execution/jobconfig/job_utils.go 76.56% <100.00%> (ø)
... and 8 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 c828eea...d571be6. Read the comment docs.