Re: [agile-testing] Concordion

Wednesday, January 11, 2012

 

The critical difference is that you almost never need to refactor the instrumentation in a Concordion specification. It's not a mini-language that's evolving in the way a Cucumber given/when/then language evolves. The instrumentation merely links the contents of the examples in the specification to the fixture. In effect, each specification has its own completely independent language that suits its needs exactly.

Best regards,
David


On 10 January 2012 21:19, George Dinwiddie <lists@idiacomputing.com> wrote:
Hi, David,

On 1/10/12 3:41 PM, David Peterson wrote:
>
>
> George,
>
> I think there are two main reasons Concordion helps. Firstly, the
> specifications can be written in plain language, as opposed to a
> restricted set of commands.

Do you really think that Given When and Then creates a burden making it
more difficult for everyone to stay on the same page with the evolving
language?> Secondly (and more importantly) Concordion
> makes a clear distinction between intention and implementation.
> Concordion specifications explain the intention and the fixture
> expresses the implementation.

This is no different from Cucumber.

> In fact, Concordion goes further and breaks the intention into two
> distinct parts: a description of the intention aimed at a business
> reader and a description of the intention aimed at programmers (and
> computers). The latter is the "instrumentation" in the specification.

Having to explicitly call methods within the HTML does not, it seems to
me, make it easier for everyone to stay on the same page. I can imagine
it making it harder to evolve the language, though, as refactoring those
method names and signatures might be a fair amount of work.

> The key thing is that the instrumentation does not express the
> implementation, but the intention. The intention of a test rarely
> changes, but the implementation may, especially as the system is
> evolving. This extra layer of indirection means you can refactor the
> implementation (your made-up language for manipulating the SUT) and the
> Concordion specifications still keep you safe.

I don't understand what you mean here. Or, if I do, I don't see how it's
different from Cucumber.

 - George

--
 ----------------------------------------------------------------------
  * George Dinwiddie *                      http://blog.gdinwiddie.com
  Software Development                    http://www.idiacomputing.com
  Consultant and Coach                    http://www.agilemaryland.org
 ----------------------------------------------------------------------



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/agile-testing/

<*> Your email settings:
   Individual Email | Traditional

<*> To change settings online go to:
   http://groups.yahoo.com/group/agile-testing/join
   (Yahoo! ID required)

<*> To change settings via email:
   agile-testing-digest@yahoogroups.com
   agile-testing-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
   agile-testing-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/


__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

0 comments:

Post a Comment