upsiflu / less-ui

Write your views across several screen regions, and hide all Ui state in the Url.
https://package.elm-lang.org/packages/upsiflu/less-ui/latest
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Implement program tests #31

Open upsiflu opened 1 year ago

upsiflu commented 1 year ago

As of now, we can test functions but not applications. Since so much hinges on the Url state properly mapped to the Ui, a suite for testing edge cases would be amazing.

elm-program-test: https://package.elm-lang.org/packages/avh4/elm-program-test/latest/

Ui

  • [ ] singleton
  • [ ] wrap
  • [ ] ++
  • [ ] view with every layout module

State

  • [ ] init
  • [ ] next with every Link constructor
  • [ ] fromString
  • [ ] toString
  • [ ] view