element-hq / element-hq/element-ios

Room ordering: Make unit tests to ensure that there is no regressions

Open
#5,116 0 comments 0 reactions 0 assignees View on GitHub
A-Room-List T-Task
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

Make unit tests to test every cases that can impact room list ordering.

Some example:
* Someone left the room
* Someone invites you
* without message
* with a message
* Someone change is avatar
* Topic is changed
* And so on

Contributor guide

Open the contributing guide

Research direction

The issue names no files or existing tests. Start by locating the room-list ordering implementation and related unit tests in the iOS project, then run the relevant test target. Done means the listed room events, including invites with and without messages, are covered by tests that detect ordering regressions.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.