Cucumber vs JSystem -- newbie question...

162 views
Skip to first unread message

Rick Karcich

unread,
Jun 24, 2013, 2:36:44 PM6/24/13
to cu...@googlegroups.com
All,

i just need a little clarification  ---  specifically a brief 'compare & contrast' of Cucumber vs JSystem(http://jsystem.org/) ---

- is JSystem preferable, at all, for early unit testing, vs Cucumber for later integration testing...?

i appreciate any insights -- thx very much!

-r

aslak hellesoy

unread,
Jun 24, 2013, 2:58:38 PM6/24/13
to Cucumber Users
On Mon, Jun 24, 2013 at 1:36 PM, Rick Karcich <rmka...@gmail.com> wrote:
All,

i just need a little clarification  ---  specifically a brief 'compare & contrast' of Cucumber vs JSystem(http://jsystem.org/) ---


This is the first time I hear about JSystem, so I can't say anything about it.
 
- is JSystem preferable, at all, for early unit testing, vs Cucumber for later integration testing...?


Cucumber is a tool for executable specifications in plain English [1].

Executable specifications are written *before* a software feature is developed, not *after*. 
The executable specification is used as a guide for developers, who will repeatedly run the specification as an automated test during development. It will start out failing because the software feature doesn't exist.

As more and more gets implemented according to the spec, more and more of the Cucumber feature goes from red to green until finally everything is green. That's when the software feature is finally implemented according to the specification.

This process works best when several roles are involved in writing and revising specifications: Domain experts/Business Analysts, Programmers and Testers.

Since Cucumber was born 5-6 years ago we have been trying to get this message across to users. Many people still think of Cucumber as an after the fact integration testing tool. That's certainly possible, but it's not what it is designed for.

Cucumber itself doesn't come with browser automation, database connectivity or any knowledge about how to connect to a system under development/test. Instead it provides a mechanism for users to integrate whatever automation libraries they want (such as Selenium or Robotium).

Cucumber is just a tool that reads specifications in plain English, runs them (using 3rd party libs) and reports the results.

Aslak

[1] Or 40+ other languages. The syntax is called Gherkin.
 
i appreciate any insights -- thx very much!


-r

--
-- Rules --
 
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
 
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages