test-state
test-state copied to clipboard
Scala Test-State.
Updates [ch.epfl.scala:sbt-scalafix](https://github.com/scalacenter/sbt-scalafix) from 0.9.31 to 0.9.34. [GitHub Release Notes](https://github.com/scalacenter/sbt-scalafix/releases/tag/v0.9.34) - [Version Diff](https://github.com/scalacenter/sbt-scalafix/compare/v0.9.31...v0.9.34) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...
Updates [org.scala-sbt:sbt](https://github.com/sbt/sbt) from 1.5.5 to 1.5.8. [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.5.8) - [Version Diff](https://github.com/sbt/sbt/compare/v1.5.5...v1.5.8) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...
All the `apply` and `child` overloads could be merged into a single method with a composable arg.
This is much faster ```scala private def asJsString(text: String): String = { val sb = new StringBuilder sb.append("'") text.foreach { case '\'' => sb.append("\\'") case '\\' => sb.append("\\\\") case '\n'...
When a group action runs, the invariants are run twice in a row. Not a big deal at all but it causes some unnecessary noise in reports. ``` [info] ✓...
Currently state modification occurs before assertions. Add ability to tie a state update to an action, but have it run after successful post-action assertion. (Currently using `*.emptyAction.updateState(...)` as a workaround)
Side-effects are meant to appear in observations, and actions. A potential problem is that observations then contain pure values (the actual data observations) and DOM references for use by actions....
It would be a huge, messy change but state should be indexed such that ```hs compose :: Action f r o s1 s2 e -> Action f r o s2...