Skip to content

Add function test CLI tests #2871

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 13, 2023
Merged

Add function test CLI tests #2871

merged 2 commits into from
Nov 13, 2023

Conversation

sanketsudake
Copy link
Member

Description

Enable function CLI test for coverage. Ignoring errors as of now.

Which issue(s) this PR fixes:

Fixes #

Testing

Checklist:

  • I ran tests as well as code linting locally to verify my changes.
  • I have done manual verification of my changes, changes working as expected.
  • I have added new tests to cover my changes.
  • My changes follow contributing guidelines of Fission.
  • I have signed all of my commits.

Copy link

codecov bot commented Nov 13, 2023

Codecov Report

Merging #2871 (ca1182e) into main (3fabf64) will increase coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2871      +/-   ##
==========================================
+ Coverage   23.00%   23.02%   +0.02%     
==========================================
  Files          84       84              
  Lines       10873    10876       +3     
==========================================
+ Hits         2501     2504       +3     
- Misses       8188     8189       +1     
+ Partials      184      183       -1     
Flag Coverage Δ
unittests 23.02% <0.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
pkg/fission-cli/cmd/function/log.go 0.00% <0.00%> (ø)
pkg/fission-cli/util/util.go 2.48% <0.00%> (+<0.01%) ⬆️
pkg/router/functionHandler.go 10.49% <0.00%> (-0.07%) ⬇️
pkg/fission-cli/cmd/function/test.go 0.00% <0.00%> (ø)
pkg/executor/executortype/poolmgr/gp.go 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
@sanketsudake sanketsudake merged commit 2e4825d into main Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant