Commit Graph

4 Commits

Author SHA1 Message Date
Stephen Celis
f1faccc3a2 Updated TestStore DSL (#454)
* Update TestStore to support imperative DSL

This gives us better XCTIssue-based error messaging since each line is
captured in the stack.

* Update examples to new testing DSL

* Fix

* Update README.md

* 11.3

* fix

* fix
2021-03-22 13:27:51 -04:00
Stephen Celis
4449bc2e24 Add TextState (for AlertState, ActionSheetState, etc.) (#359)
* Use SwiftUI.Text with {Alert,ActionSheet}State

Fix #293, #318.

* Use public interface

* Availability

* TextState

* Note

* Simplify

* Update LocalizedStringTests.swift

* Fix warnings

* Fix docs
2021-01-21 17:50:34 -05:00
mbrandonw
6db4cf39e0 Run swift-format 2020-08-27 15:08:49 +00:00
nmccann
66d19499bc Added some tests for Shared State case study. (#262)
* Added some tests for Shared State case study.

* Expanded upon tests by also validating that state is mirrored

State is expected to be mirrored (or shared) between the Counter and
Profile - the tests have been updated to verify this.

* Modified tests to focus more on what is changing between steps

Co-authored-by: Noah McCann <>
2020-08-27 10:49:12 -04:00