ZupIT / ritchie-cli

Ritchie CLI is an open-source tool that allows to create, store and share any kind of automation, executing them through command lines, to run operations or start workflows ⚙️ 🖥 💡
https://docs.ritchiecli.io
Apache License 2.0
559 stars 104 forks source link

Functional tests rit metrics #1002

Closed maurineimirandazup closed 3 years ago

maurineimirandazup commented 3 years ago

Description

Functional tests for rit metrics command

How to verify it

Check the workflows executed in the Actions menu or make changes to the metrics.go and metrics_test.go files to validate the results.

Changelog

Validates 3 scenarios. With 'yes' value, with 'no' value and invalid value.


This pull request generated the following artifacts.

To test the health and quality of this implementation, download the respective binary for your operating system, unzip and directly run the binary like the examples below.

Generated at Tue Jul 06 2021 17:49:11 GMT+0000 (Coordinated Universal Time)

codecov-commenter commented 3 years ago

Codecov Report

Merging #1002 (ad77ca1) into master (985aebc) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1002   +/-   ##
=======================================
  Coverage   84.10%   84.10%           
=======================================
  Files         123      123           
  Lines        4982     4982           
=======================================
  Hits         4190     4190           
  Misses        518      518           
  Partials      274      274           

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 985aebc...ad77ca1. Read the comment docs.