Test case: Ensure that my bot logs into Discord successfully
PR Title: Test for Successful Bot Login
Description:
This pull request adds a new test case testSuccesfulBotLogin() to verify the successful login of the Discord bot. The test ensures that the bot can log in successfully and announces its presence with the expected greeting message on the Discord server.
Changes:
Added a new test case testSuccesfulBotLogin() to the test suite.
Verified that the bot successfully logs in by checking for the expected greeting message upon presence announcement.
Used assertions to validate the correctness of the greeting message.
Provided informative comments within the test function to enhance readability and understanding.
Testing:
Ran the new test case locally to ensure its functionality and correctness.
Confirmed that the test passes when the bot logs in successfully.
Ensured that appropriate error handling is in place for scenarios where the bot login fails.
Test case: Ensure that my bot logs into Discord successfully
PR Title: Test for Successful Bot Login
Description: This pull request adds a new test case
testSuccesfulBotLogin()
to verify the successful login of the Discord bot. The test ensures that the bot can log in successfully and announces its presence with the expected greeting message on the Discord server.Changes:
testSuccesfulBotLogin()
to the test suite.Testing:
Video of the test passing https://www.youtube.com/watch?v=5PlgmAgKWFM