Hi,
> we're building a new mail user agent based on notmuch and using brick
> (
https://github.com/purebred-mua/purebred). First I'd like to say
> that brick and vty is a wonderful piece of software. We had a small
> prototype ready in a couple of hours.
Fantastic! I came across your project recently. I'm glad to hear that
you're enjoying using the library. :)
> Anyway to come to the point, we've come up with a way of writing user
> acceptance tests, by basically running the application in a tmux
> session, sending input and observing the application by dumping the
> terminal output. The code is not optimized, but has come in already
> very handy. Whoever is keen on doing the same can steal the code from
> here:
>
>
https://github.com/purebred-mua/purebred/blob/master/test/TestUserAcceptance.hs
>
> or maybe, if people are interested perhaps we should put it in a separate
> package. I'm also genuinely interested what other approaches members of
> this group took to test their applications.
This is awesome! I will take a look. I've been thinking of doing
something like this for other terminal applications where just testing
the internals isn't enough. Thanks for sharing it!
I'd definitely be interested to see whether you can generalize it enough
to make a package. I also love tmux, so it's neat to see it used this
way.
> Many thanks again for brick and vty. I haven't had so much fun
> building an application for a long time ...
That's really great to hear. :)
--
Jonathan Daugherty