I think ATDD and TDD, although sharing 3 letters and some ideas, are
completely seperate processes and deserve different tools :)
Andreas
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To post to this group, send email to robotframe...@googlegroups.com.
To unsubscribe from this group, send email to robotframework-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotframework-users?hl=en.
TDD is to drive the design of your code. It might have that "T" in its
name, but it represents that the unit tests are a means to reach a
flexible design.
ATDD on the other hand also has that "T" there, but it's a
requirements elicitation approach, that produces system-level tests as
a side-effect.
They truly have both their place on an Agile team, but while TDD helps
to write the code in the right way, ATDD helps you to focus on the
right function to program.
Best
Markus
> --
> You received this message because you are subscribed to the Google Groups "robotframework-users" group.
> To post to this group, send email to robotframe...@googlegroups.com.
> To unsubscribe from this group, send email to robotframework-u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/robotframework-users?hl=en.
>
>
--
Dipl.-Inform. Markus Gärtner
http://www.shino.de/blog
http://www.it-agile.de
Twitter: @mgaertne
This depends very much on how you define unit. If your unit is, for
example, a Java class your best bet is testing it with JUnit or some
other unit level testing tool. If your unit is something larger and
has an external interface, then using Robot or some other higher level
tool might be a good option. I normally refer only to the first kind
of testing with "unit testing" and use either "module testing" or
"integration testing" when talking about the latter.
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org
I can't agree with that. ATDD should not focus on any element in the
GUI at all. Your examples should be based upon a higher abstraction.
That abstraction should not deal with any elements in your GUI at all,
while still being focused on the underlying business goals. The
examples should be abstract, but not too abstract.
However, what I think you really might have meant is that you can base
your design based on the information you can gather by making the
tests pass in your test classes first. At that point you can inform
your design of the production code using the information gathered from
the automation that you used to make the specification by example
pass.
However, this is surely something I would not start with initially,
but could be a longer-term goal while adopting ATDD after all.
Best
Markus
--
This is a very good example of a case where both unit and acceptance
level tools can be used. It totally depends on the context which tools
work better or should both be used. Avoiding a larger set of
duplicated tests is a good idea nevertheless.
> I am attempting the hybrid route at my organization, but we'll see how
> that goes. It may be that I have to go the option of the first bullet
> item. We use a scattered collection of tools and test frameworks (or
> rather harnesses really), and I find RF to be a good candidate to
> consolidating them all under a single framework with a single test
> case or scripting format. Makes it easier to write integrated tests
> that involve the multiple tools we have, and simplify our junior QA
> members job from having to learn/use multiple test script formats.
Sound very good to me.