1. A step towards next generation of development methodology?? Say Hello to “Behavior Driven Development” “BEHAVIOR” sounds cool! I think I can add another “Buzz Word” in my resume! Mahmudul Haque Azad
4. But… I have been in development for years with lots of successful projects
5. Questions that raises in mind WHY the developers feel uncomfortable to write test code, even after completion of development? Is there any way to over come this?
7. What could be the possible test cases. This program should send email if To address is valid. This program should send email if CC address is valid even if To address is not valid This program should send email if BCC address is valid even if CC and To address is not valid. This program should send email even if the subject line is empty. This program should send email even if the body is empty.
10. What if Specification /Requirement Behavior of the Module How it will behave in all possible situation?
11. At first! You must know how the medicine is going to work! Researchers have spent lots of time to figure out a possible format of “requirement specification” that is easy to understand to both technical and non technical person. Experts term this type of language as Ubiquitous Language or Domain Specific Language (DSL).
12. Lets learn some Buzz Word! Human Computer Interaction Ubiquitious Language Domain Specific Language DDD Domain Driven Design
21. Lets See BDD in Action! For Java: Use Jbehavehttp://jbehave.org/reference/stable/getting-started.html For .Net use SpecFlow.
22. A small requirement! Given that we have a search form that searches over Name, Address and Profession table When the user enters non empty text And the length of the text is more than 3 alphanumeric character long Then the user will get the search result And if the search result is empty he will get an message box asking him to do the search again.