The long way through Software Craftsmanship

Maven module Base for cucumber in java

Mar 10, 2015 - 1 minute read - Comments - cucumberbddjavamavenrepositorymeetupagilebcn

I’ve built a small maven module, to be used directly with cucumber. You can fork the repository here This is the setup I’ve proposed for the meetup “BDD Cucumber kata (gherkin + code)". Will see if this code is successfully used by the ~40 participants in a couple of weeks (Quote from the README.md): This maven project has been possible due to Thomas Sundberg and this post Should you want to, there’s a tweet to thank him the effort: [tweet intent here](https://twitter.

Brown-bag session: maven

Mar 6, 2015 - 1 minute read - Comments - maventooljavatrainingbrown-bag-sessionclient

Yesterday we did a training about the maven tool. One of the team members explained to us some topics including: lifecycles profiles and how to create one slowTests for integration tests (this client only) downloadJavadoc downloadSources convention over configuration scopes of the dependencies (test, runtime, compile, provided) tricks about the tool: order of the dependencies (especially junit, hamcrest) plugins and how to build one destination folders target, classes, test-classes, etc Note: this post was created a posteriori, with the original date

Mob programming String calculator kata

Mar 3, 2015 - 3 minute read - Comments - mob-programmingtrainingtddkatastring-calculatorpair-programming

Last Friday we did a kata1 using a projector the string calculator 2 using pair programming, TDD and some mob-programming for the last refactoring. We used a projector (beamer) so everyone could see it. I tried to take really small baby steps but the adding part was done in ~6 cycles3 We’ve all learnt about shotcuts, live user templates for the IDE 4, TDD methodology, other ways of tackling the problem, how to refactor as a group, clean code, etc

The purple wire

Feb 24, 2015 - 3 minute read - Comments - debuggingdefectpurple-wiremythical-man-monthquotefred-brooks

A quote from the Mythical Man-Month: Chapter 13: The Whole and the Parts […] In System/360 engineering models, one saw occasional strands of purple wire among the routine yellow wires. When a bug was found, two things were done. A quick fix was devised and installed on the system, so testing could proceed. This change was put on in purple wire, so it stuck out like a sore thumb. It was entered in the log.