Cocumber for Java

For my 16 years in Software Development one of the things that I haven't really mastered is unit testing. Junit testing is something that I don't really use because the bar to get there is really high and we also have a task like agile sprint on which is a time box to do list.

Time changed and applications we develop must work on desktop, web and mobile the level of quality shippable product has just been raised but the time to develop is just getting shorter.

To meet those challenges embracing test driven development (TDD) and behavioral driven development (BDD) is requirement for every application development. It simply gives us a high level of confidence when we pass it to our testers or ship our shippable product.

I am pretty much familiar with TDD using JUnit test case in Java so I won't be discussing it here.

The main difference between TDD and BDD in simple terms is: TDD is for technical people and BDD is for non-technical people.

With BDD the tool I use is Cocumber which has a similar definition in describing a story.

A developer can easily match his story in BDD with his Agile and convert it from business story task to technical test for validation and double checking. This helps the developer reduce his mistakes and provide different possible ideas on scenarios his working on.

What I like a lot about Cocumber is you only write one file that has "test" on the suffix and it can link it to you're definition classes.

In todays generation of Software Development it would take a lot of effort from developers starting from UI interface, business logic, OOP concepts, MVC pattern, frameworks, Junit testing, behavioral development and continues integration. It would also be wrong to remove testers in the future since they have this rich experience to check and explore things on apps and break it.

We just have to adopt and persevere on values, principles and practices that will produce quality products.

Cocumber is doing a good job and like what they do. To learn more about the tools visit


Avantikajoy said…
It's like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a little bit, but instead of that, this is fantastic blog. A great read. I will definitely be back.
Psoriasis Treatment
Pimple Treatment
Psoriasis Shampoo
sindhu said…
This is extremely helpful info!! Very good work. Everything is very interesting to learn and easy to understood.
SEO Company in Chennai
lakshmi deepa said…
Thank you for your sharing information..waiting for more information.. very happy to visit your post..
SAP HR Training in Chennai
SAP ABAP Training in Chennai
SAP FICO Training in Chennai
kayal M said…
These ways are very simple and very much useful, as a beginner level these helped me a lot thanks fore sharing these kinds of useful and knowledgeable information.

Herbal Shampoo
Dandruff Treatment
Antifungal Cream
Vitiligo Medicines
Domnic said…
Anybody want to know How to trace the mobile with location and get more details for tracking.Read this blog...

Mobile Number Tracker | Phone Number Tracker With Location | Mobile Location Tracker | How To Track A Phone Number | Phone Number Tracker | Phone Number Search
rose said…
It was a good one.

Java Training in chennai
vinothika said…
I like your way to describe every points and i get a better knowledge to your post. Thanks for giving plesant information.

Bigdata Training in Chennai
viji malar said…
This site is very useful...
Hadoop Training in Chennai
Guru Guru said…
This is so informative blog and i have used this 5 minutes thing very useful too happy with this blog........

SAP Training in Chennai
SAP FICO Training in Chennai
SAP MM Training in Chennai

Popular posts from this blog

John Gokongwei Speech before Ateneo 2004 Graduates

SM Mall of Asia

GWT+MySQL Best Practice