▲ | MoreQARespect 4 days ago | |||||||||||||||||||||||||
I use executable specs quite a lot with stakeholders. I'd never ask them to write them, but I will often write a spec/test based upon their two sentence jira and then screenshare and walk them through my interpretation to get feedback early (i.e. before ive wasted time building the wrong thing). Cucumber/gherkin is awful at this of course, and the regex thing was a terrible idea but it's not the only tool. The idea that tests should be split into a specification layer and execution layer is a good one that should have taken off by now. | ||||||||||||||||||||||||||
▲ | jonahx 4 days ago | parent | next [-] | |||||||||||||||||||||||||
> The idea that tests should be split into a specification layer and execution layer is a good one that should have taken off by now. There is a fundamental reason it hasn't: An actual specification layer isn't any simpler than the execution layer. That's a programmer's fallacy. What has taken off, and is part of virtually every software project, is a loose, natural language specification, which hints at "more or less" what the stakeholders are imagining. The idea that you can close the gap between this and a complete specification in a way that all stakeholders can still digest is the fantasy of cucumber. Or any other tool that attempts it. You can't solve the problem in that way. Because, from a high-level stakeholder's perspective, the whole point of the people below them (whether programmers or UX designers or anyone else) is to fill in those details in a way that matches their own hazy expectations, at least well enough. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | exe34 4 days ago | parent | prev [-] | |||||||||||||||||||||||||
Hey, could you please share what you use for writing your specs? Pure python? Or some DSL? | ||||||||||||||||||||||||||
|