Tag Info

New answers tagged

1

Massively tedious repetition of millions of tests, as on the low-level methods, but higher up. That's a straw man... Naturally, you're testing the same functionality higher up, but at a different level of abstraction. Higher-level tests also exercise the interactions between components. Were your premise true, we could simply dispense with unit tests ...


0

Something like a date validation function would be a genuinely reusable component, and so should; have tests written against it's api already exist, probably as part of your language standard library already be tested, otherwise use a different language/library Then you just document somewhere 'we accept dates in (e.g.) ISO format'. Then for any kind of ...


1

You have to come to an agreement on what "done" means for everything you deliver. You can give them a signed letter of agreement, a light, or a smoke-signal and if they think it means something else, you have a problem. Being concerned with client misconceptions is universal in this business, so the only way to get around it, is to be constantly ...


3

The scenario above could be one of many around the account update story. In order to keep my account up to date, As a registered user I should be able to update my account So you would multiple scenarios covering each of the potential outcomes for a story. A story could also be one of many stories for a feature. What is the value of these tests as a ...


0

I'm going to park your first point if I may. If the deliverable is highly desirable and will produce tangible benefit, there will naturally be a clamour for it to be delivered speedily. The second point interests me. To my mind, if the business have a requirement for an interface to behave in a certain way, this too should come under BDD's given-when-then ...


6

Forget a moment about the "BDD buzzword", and let's talk about what we called it the last decades: functional specs. If you think the specs you get from your PO are not detailed enough, write the missing parts on your own. This gives you lots of room for creative discussion, before actually starting to code, but will also help you to remember what decisions ...



Top 50 recent answers are included