CukeUp! 2013 / Don't you trust me? (a technical approach to building trust and consensus)

Please RSVP for instructions on how to join the event.

Description

In many legacy organisations there's a tension between the desires of the three amigos - business stakeholders can't validate assumptions unless they're written in business domain terms - testers would ideally test everything end to end (vertically) - developers respond that the testing pyramid encourages us to have more unit tests than integration or end-to-end tests It is often recommended that some tests that start off as scenarios get pushed 'down' into unit tests to keep the execution time under control and constrain the maintenance burden of the feature suite. The trouble with this is that even if the business folk and the testers trusted the developer's unit tests implicitly (which they often don't ;-) there's still the issue of visibility. We no longer have one complete, generally consumable, source living documentation. Additionally, we don't want to pollute our scenarios with details about our step definition implementation (such as whether we're exercising an isolated component or entire system end-2-end). Which is exactly what we'd like to do in some circumstances to minimise the runtime of our feature suite. An approach that I have been experimenting with uses Cucumber's tagged hooks to control the amount of application stack that a scenario exercises. This lets us tailor our execution context depending on the runtime of the feature suite and the amount of trust the team has to spare. In the limit, this allows us (where it makes sense) to expose some of our unit tests as scenarios - keeping our living documentation complete. The cost, of course, is added complexity.

Outline

No outline is available

Recording

The creator of this video has not given permission to embed it on this domain.

Instead, you can view this video by following this external link:

Go to site

Seb Rose (seb.rose)

0
Author

No biography is available.

For a complete view of this profile, including education, work experience and developer information, you need to be logged in and have a subscription.

Seb's upcoming trainings

No events

Seb's past online trainings

Seb's blog posts

IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper