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

Q&A tests round 1 #83

Closed snapcat closed 2 years ago

snapcat commented 2 years ago

Summary

~This PR will marked as ready for review when coverage for qanda.py is at least 75%.~

~Coverage for qanda.py is at 84%!~ Coverage for qanda.py is at 89%!

This PR increases test coverage for the original qanda.py prior to any additions made by group 25.

Added additional qanda.py tests to test_bot.py

asking questions: see commit answering questions: see commit placeholder tests: see commit

Changed Files

test_bot.py

New tests: see commit

New tests: see commit

As of now, there is no way (to my knowledge!) of verifying the results of the last two tests since the bot locates and edits the messages.

New test: see commit

Placeholder monkey tests (as comments):

Checklist

I tested my tests locally!


Closing Issues

Bugs, Notes

#### Contributors @snapcat
snapcat commented 2 years ago

Closed! Test cases are going to be merged with #82