Skip to content

[CHA-1578] add feature parity tests#35

Open
mogita wants to merge 30 commits intomasterfrom
cha-1578_openapi-refactor-codegen
Open

[CHA-1578] add feature parity tests#35
mogita wants to merge 30 commits intomasterfrom
cha-1578_openapi-refactor-codegen

Conversation

@mogita
Copy link
Collaborator

@mogita mogita commented Feb 25, 2026

Adding test cases to cover feature parity with https://github.com/GetStream/stream-chat-ruby

mogita and others added 7 commits February 25, 2026 11:21
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 25, 2026 12:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds comprehensive integration tests to achieve feature parity with the stream-chat-ruby SDK. The PR introduces eight new test specification files covering video, chat users, reactions, polls, moderation, miscellaneous features, messages, and channels, along with a shared test helpers module.

Changes:

  • Added chat_test_helpers.rb module providing shared utilities for test setup, user/channel creation, and resource cleanup
  • Added comprehensive integration tests for video operations (call types, calls, external storage, recording/transcription)
  • Added integration tests for chat functionality covering users, channels, messages, reactions, polls, and moderation features

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 16 comments.

Show a summary per file
File Description
spec/integration/chat_test_helpers.rb Shared helper module for integration tests with setup/teardown and common operations
spec/integration/video_integration_spec.rb Tests for video call types, calls, permissions, blocking, muting, external storage, and deletion
spec/integration/chat_user_integration_spec.rb Tests for user CRUD, blocking, deactivation, privacy settings, teams, and custom data
spec/integration/chat_reaction_integration_spec.rb Tests for sending, retrieving, deleting, and enforcing unique reactions
spec/integration/chat_polls_integration_spec.rb Tests for poll creation, querying, voting, and verification
spec/integration/chat_moderation_integration_spec.rb Tests for banning, muting, and flagging users and messages
spec/integration/chat_misc_integration_spec.rb Tests for devices, blocklists, commands, channel types, permissions, roles, threads, reminders, and exports
spec/integration/chat_message_integration_spec.rb Tests for message CRUD, pinning, translation, threads, search, pending messages, and history
spec/integration/chat_channel_integration_spec.rb Tests for channel CRUD, members, roles, hiding/showing, truncation, freezing, muting, file uploads

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants