test: add comprehensive IRC integration test with two clients #100
Reference in New Issue
Block a user
Delete Branch "feature/97-integration-test-client"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
integration_test.gowith four test functions that exercise all major IRC features using real TCP connections.Tests
TestIntegrationTwoClients — sequential two-client test covering:
TestIntegrationModeSecret — verifies +s mode set and query.
TestIntegrationModeModerated — verifies +m blocks non-voiced users and +v enables sending.
TestIntegrationThirdClientObserver — verifies three-client channel message fanout.
docker build --no-cache .passes clean (formatting, linting, all tests, build).closes sneak/chat#97