tinkerbell / rufio

Kubernetes Controller for BMC Interactions
Apache License 2.0
37 stars 16 forks source link

Add unit tests for the task controller #55

Closed chrisdoherty4 closed 2 years ago

chrisdoherty4 commented 2 years ago

Depends on #46

Add unit tests for the task controller.

Closes #30

codecov-commenter commented 2 years ago

Codecov Report

Merging #55 (abbc9fc) into main (bdb2aef) will increase coverage by 39.79%. The diff coverage is 28.57%.

:exclamation: Current head abbc9fc differs from pull request most recent head f393f99. Consider uploading reports for the commit f393f99 to get more accurate results

@@             Coverage Diff             @@
##             main      #55       +/-   ##
===========================================
+ Coverage   18.98%   58.78%   +39.79%     
===========================================
  Files           4        4               
  Lines         316      313        -3     
===========================================
+ Hits           60      184      +124     
+ Misses        249       97      -152     
- Partials        7       32       +25     
Impacted Files Coverage Δ
controllers/task_controller.go 60.20% <28.57%> (+60.20%) :arrow_up:
controllers/job_controller.go 52.41% <0.00%> (+52.41%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.