The majority of the testing of the IRC server occurred via manual testing. Initial tests included 5 clients connected to the server. Channel tests included, 3 clients joining a channel, the second client PARTing from the channel, and then the last 2 clients joining the channel. This test ensures that when a client is removed from a channel, other clients fill in the spots that open up in the users array for that channel. Manual tests also included verifying that the channels and users array resize correctly when more space is required. Tests were also made to ensure that channels were removed from the channels array when no more users were present in a channel.

Automated tests were also done. sirc_tests.rb is a modified version of the simpleirc.rb test file that was provided to us. In addition to the 10 tests provided, 11 other tests were written to test various error messages produced when a users does not provide enough information, incorrect information, or does not have proper access. To test proper concurrency 3 variants of the sirc_test.rb file were run simultaneously. Each new automated test is documented in the sirc_tests.rb file and are found below all the provided tests.