zaquestion / lab

Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab
https://zaquestion.github.io/lab
Creative Commons Zero v1.0 Universal
1.11k stars 102 forks source link

Commit comment tests #804

Closed prarit closed 2 years ago

prarit commented 2 years ago

mr_discussion_test: Add tests for commit comments

Add test for commenting on commits.

Signed-off-by: Prarit Bhargava prarit@redhat.com

prarit commented 2 years ago

This MR depends on the deleting notes functionality introduced in #802

codecov[bot] commented 2 years ago

Codecov Report

Merging #804 (2fa388c) into master (9abab2c) will increase coverage by 0.82%. The diff coverage is 60.00%.

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #804      +/-   ##
==========================================
+ Coverage   54.59%   55.42%   +0.82%     
==========================================
  Files          77       77              
  Lines        5696     5748      +52     
==========================================
+ Hits         3110     3186      +76     
+ Misses       2300     2280      -20     
+ Partials      286      282       -4     
Impacted Files Coverage Δ
internal/gitlab/gitlab.go 7.64% <0.00%> (-0.15%) :arrow_down:
cmd/issue_edit.go 79.52% <100.00%> (+7.20%) :arrow_up:
cmd/mr_edit.go 63.90% <100.00%> (+2.84%) :arrow_up:
cmd/mr_create.go 73.99% <0.00%> (-1.13%) :arrow_down:
cmd/fork.go 63.15% <0.00%> (+5.26%) :arrow_up:
cmd/mr_discussion.go 85.07% <0.00%> (+28.35%) :arrow_up:

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 f8ed118...ba5ff60. Read the comment docs.