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 https://cucumber.io

Comments

Popular posts from this blog

John Gokongwei Speech before Ateneo 2004 Graduates

SM Mall of Asia

GWT+MySQL Best Practice