RxSwiftCommunity / RxSwiftCommunity/RxController

[Testing] Add regression coverage for event routing and Stepper propagation

Open
#18 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
45
Forks
8
Avg merge
2h 44m
Merged PRs (30d)
3

Description

Motivation

The modernization work changes toolchains and dependencies, but RxController currently has no small SwiftPM regression suite that protects its core behavior.

Proposed first tests

  • RxControllerEvent.value(of:) filters by identifier.
  • unwrappedValue(of:) ignores nonmatching / incompatible values and emits typed values.
  • parent/child view model event propagation works after addChild.
  • child steps propagate back through the parent event channel.
  • lifecycle observables continue to emit from RxViewController.

Acceptance criteria

  • Add an RxControllerTests SwiftPM test target.
  • Tests run in GitHub Actions.
  • Tests do not depend on the Example app or CocoaPods.
  • Tests cover both event routing and RxFlow Stepper integration.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the SwiftPM package setup and the entry points named in the issue: RxControllerEvent.value(of:), unwrappedValue(of:), addChild, steps, and RxViewController lifecycle observables. Add an RxControllerTests target covering event routing, Stepper propagation, and lifecycle behavior without the Example app or CocoaPods, then verify the tests run in GitHub Actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, swift
Domain
ci-cd, mobile-dev, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.