
Reblogged by cstanhope@social.coop ("Charles Stanhope"):
minoru@functional.cafe ("Minoru") wrote:
If you never wrote acceptance tests before, today might be a good day to start: Subplot, a new tool in that space, looks for its first brave users https://blog.liw.fi/posts/2021/07/11/subplot/
The key difference from Cucumber is that Subplot produces an HTML or PDF document which non-programmers can read and understand. You can actually show it to your users, and they might be able to give you feedback.
I tried Subplot earlier in a new small project, and even though the authors claim it's "alpha-quality software", I didn't actually run into any big problems: I just wrote some project-specific bindings (in Python, but Rust and Bash are on the horizon!), and used those bindings to write tests. It's all pretty easy to do. I also liked how it immediately made me think in terms of the interface, not implementation (as unit and integrations tests do).