owickstrom / gi-gtk-declarative

Declarative GTK+ programming in Haskell
https://owickstrom.github.io/gi-gtk-declarative/
288 stars 35 forks source link

Property tests for patching #69

Closed owickstrom closed 4 years ago

owickstrom commented 4 years ago

This adds a property test that checks that no matter what patches have been previously applied, a successive patch yields the same GTK widget state. Due to GTK widgets not being practically comparable or printable, this test uses an intermediate representation of widgets.

owickstrom commented 4 years ago

Would you like to have a look at this, @Dretch ?

owickstrom commented 4 years ago

Sadly, these tests do not run in CI yet. Another PR for it is up here: https://github.com/owickstrom/gi-gtk-declarative/pull/70

owickstrom commented 4 years ago

@Dretch No worries. :+1: I'll merge it now.