redhat-et / copilot-ops

copilot-ops is a CLI tool that boosts up any DevOps repo to a ninja level of Artificially Intelligent Ops Repo
Apache License 2.0
34 stars 13 forks source link

add ginkgo tests #94

Closed RobotSail closed 2 years ago

RobotSail commented 2 years ago

This PR aims to introduce Ginkgo as the testing framework to incorporate behavior-driven development. The goal of adding Ginkgo + Gomega is to define how copilot-ops should behave, and then adjust the code to match the defined behavior.

This PR should close #96 and #73.

Signed-off-by: Oleg 97077423+RobotSail@users.noreply.github.com

codecov-commenter commented 2 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@b2e1212). Click here to learn what that means. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage        ?   73.74%           
=======================================
  Files           ?        7           
  Lines           ?      598           
  Branches        ?        0           
=======================================
  Hits            ?      441           
  Misses          ?      135           
  Partials        ?       22           

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 b2e1212...73a7c12. Read the comment docs.