CSC510-Group-25 / ClassMateBot

This project helps to improve the life of students, TAs and teachers by automating many mundane tasks which are sometimes done manually on Discord. This is release version 3 of the ClassMateBot.
MIT License
0 stars 5 forks source link

Adding test cases for groups.py file #131

Closed peeyush10234 closed 2 years ago

peeyush10234 commented 2 years ago

Summary

Increase the code coverage of cogs/groups.py File

New Files

None

Deleted Files

None

Changed Files

cogs/groups.py

Checklist

Note: Ensure that all new code has test coverage!


Closing Issues

closes #132

Bugs, Notes

#### Contributors Use `@peeyush10234'
codecov-commenter commented 2 years ago

Codecov Report

Merging #131 (44d9106) into main (ae831b9) will increase coverage by 1.41%. The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #131      +/-   ##
==========================================
+ Coverage   88.51%   89.92%   +1.41%     
==========================================
  Files          12       12              
  Lines        1672     1678       +6     
==========================================
+ Hits         1480     1509      +29     
+ Misses        192      169      -23     
Impacted Files Coverage Δ
cogs/groups.py 68.08% <50.00%> (+16.31%) :arrow_up:
test/test_bot.py 100.00% <100.00%> (ø)

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 ae831b9...44d9106. Read the comment docs.