- Moving From Cucumber to Turnip I was about to refactor one of my old ruby apps when I realized that I didn't want to write more cucumber features and scenarios. I do bdd whenever I can (I even wrote a detailed post about it), but in ruby I don't want to have test cases both under .
more...
- Cucumber JVM: Hooks I finished the previous post with the promise that I'm going write more about hooks in cucumber. By definition, hooks allow us to perform actions at various points in the cucumber test cycle. The definition wisely doesn't say much about these actions and the points where they are executed.
more...
- Cucumber JVM: Web Application with Spring MVC It's been a while since the last Cucumber JVM post, and since I've started to work with Java based web applications, it was time to continue the series. Last time I left off, I had a class that could transform an arbitrary sentence such as I like testing into I lkie tnitseg by following the rules of the text munger kata.
more...
- Cucumber JVM: Mocking In the previous cucumber-jvm post I introduced dependency injection, which makes it possible to use mocks during testing. Usually, it is a bad idea to introduce mocks in cucumber scenarios, because they are supposed to test the whole system as it is, however there are cases when mocking comes in handy: for example, a module or component of your system communicates with a 3rd party system.
more...
- Cucumber JVM: Dependency Injection Last time I finished with a failing test case which drove the development to a phase where I had to deal with a sentence instead of a word. The fix was not a big deal, but I ended up with a method in SimpleTextMunger which did three things.
more...
- Cucumber JVM: More Scenarios In my previous post I started to play around with cucumber-jvm to see how it could be used for Java development. Last time I finished with one scenario and now I'm going to move forward with my simple text munger implementation and see how to use cucumber-jvm with multiple scenarios.
more...
- A Step by Step BDD Demonstration with Some Useful Insights According to Stephen Covey, the seventh habit of highly effective people is sharpening the saw. If you have ever been to an agile workshop or conference, you may have already heard this expression. Software craftsmen sharpen their saw at coding dojos where they talk to each other a talk about new things or do Kata exercises together.
more...
- Cucumber JVM: Preparation Every time I wrote some code in ruby and executed our cucumber features I craved for something similar in Java. I knew that there were several BDD frameworks for Java like JBehave, JDave, and EasyB, but none of them was right for me.
more...
- Saving the Continuous Integration I really like continuous integration, that's why I'm always sad when I see one dying. Unfortunately, I've seen it happen a lot, and in every case its lifeline looked like this.
more...