Commit Graph

20 Commits

Author SHA1 Message Date
Wendy Liga
1a8bccc62e Support DocC Xcode 13 (#591)
* wip

* finish

* revert back code snippet identation to 5

* Update Sources/ComposableArchitecture/Effect.swift

Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com>

Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com>
2021-06-14 14:10:08 -04:00
Brandon Williams
4ea3dfed61 Work around Combine-related crash on iOS 13 (#483)
* Fix Combine crash for iOS 13.

* Clean up

* remove scheme
2021-04-08 08:18:36 -07:00
Stephen Celis
84b9a00438 Failing Effects (#453) 2021-03-22 13:54:52 -04:00
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
e935270972 Tie long-living effect assertions to line of originating action (#413)
* Tie long-living effect assertions to line of originating action

* Fix

* fix

* More CI
2021-03-05 12:34:25 -05:00
Stephen Celis
f8608c7421 Breakpoint instead of assert in optional/forEach (#296)
* Breakpoint instead of assert in optional/forEach

* fix merge

Co-authored-by: Brandon Williams <mbw234@gmail.com>
Co-authored-by: Brandon Williams <mbrandonw@hey.com>
2021-03-02 13:03:15 -05:00
Jason Clark
e22776f7fd Adds .sequence(Step) to StepType (#387) 2021-02-17 15:50:26 -05:00
Stephen Celis
636f3facdc Document scope a bit more deeply (#360) 2021-02-01 14:46:35 -05:00
Stephen Celis
f6c73e65b8 Only include actions in TestStore debug output (#342) 2021-01-11 16:43:10 -05:00
Stephen Celis
fbd893407c Update TestStore.swift (#317) 2020-10-30 17:25:24 -04:00
Stephen Celis
31f2556c7c Test Store Ergonomics (#285)
* Test Store Ergonomics

* fix merge

* fix
2020-09-10 17:24:27 -04:00
Stephen Celis
3a63b83d30 Drive Test Store with a real Store (#278)
* Failing test

* Drive Test Store using Store

* Update TestStore.swift

* format

* Track state after send

* Use proper snapshot

* Fix?

* fix
2020-09-04 09:20:35 -04:00
Brandon Williams
0bf4b25a2e Better error messages for uncompleted effects. (#270) 2020-08-27 10:48:22 -04:00
Brandon Williams
c2f64aa874 Update docs for Effect.timer and TestStore. (#220)
* Update docs for Effect.timer and TestStore.

* format

* update

* Update Sources/ComposableArchitecture/Effects/Timer.swift

Co-authored-by: Stephen Celis <stephen@stephencelis.com>

* Update Sources/ComposableArchitecture/TestSupport/TestStore.swift

Co-authored-by: Stephen Celis <stephen@stephencelis.com>

* wip

* Update TestStore.swift

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2020-07-09 10:25:06 -04:00
mbrandonw
0d2b624575 Run swift-format 2020-05-19 16:08:32 +00:00
Petr Sima
f6d292601e added array-based version of TestStore.assert (#115) 2020-05-19 09:06:03 -07:00
Stephen Celis
9c339bf4ae Add "run" function to Reducer (#91)
* Add "run" function to Reducer

* Doc fixes
2020-05-13 13:09:17 -04:00
mbrandonw
823f26bf70 Run swift-format 2020-05-11 23:43:32 +00:00
Brandon Williams
0b7978c432 Perform dlopen and dlsym just once. (#75)
* Perform dlopen and dlsym just once.

* wip
2020-05-11 16:42:06 -07:00
Stephen Celis
a429d9d3ef Merge Test Support Module (#71)
* Merge Test Support Module

An attempt to fix #70.

* Remove import

* Update README

* Assertion failure

* Cleanup

* Add NB

* Revert format change

* Update Sources/ComposableArchitecture/TestSupport/TestStore.swift

* TicTacToe fixes

* Hide test store in debug flag

Co-authored-by: Brandon Williams <mbw234@gmail.com>
2020-05-11 17:44:52 -04:00