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

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).

· · Web · 1 · 4 · 3

@minoru I found the bonus kitten but i still don't understand what the fuck is this and whether it's any different to a test suite.

@L29Ah It's docs + high-level test suite.

Take a look at chapter 7 in or This document explains acceptance criteria for a backup program. Previous chapters are basically docs, but chapter 7 gets to the meat of it. The key here is that it's high-level enough for users to understand, but also low-level and modular enough that you can actually write a short BDD-style test that checks this particular criterion.

You've probably heard of a test pyramid. Subplot is what's supposed to be on the top of it, or maybe right under manual testing.

> The following high-level requirements are not meant to be verifiable in an automated way:

Sign in to participate in the conversation
Functional Café

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!