Proper interactions logging and sequence diagrams

In the last post adding a stub we introduced a Wiremock instance that pretended to be a third party. Now we have to fix the yatspec output show this interaction correctly. The first thing that is not right is the way we are logging interactions. The test is logging three lines: “Request From A_user to…

Adding a stub

In the last post, Extending and refactoring Yatspect suite we found several problems with the initial implementation of the tests. Two of them where: We are running our acceptance test against a real prod server. This is a luxury we can’t always afford. Sometimes we need to go to third party APIs with invocations that would…

Extending and refactoring Yatspect suite

After Automatic Generation of Sequence Diagrams with Yatspec, we are going to add a second test and a bit of functionality to the project. This will come handy later to show other Yatspec tools. New functionality: Star wars characters We are going to add an endpoint that gives us information about Star Wars characters. We…

Automatic Generation of Sequence Diagrams with Yatspec

Currently at Sky we are working on a greenfield project and for our new apps we are generating sequence diagrams from acceptance tests. It is very nice to have an always up to date diagram showing you how your application is working. Lets start with the dependencies in our pom.xml. This example builds on top…

Acceptance testing with Yatspec

Working at Sky I’ve learnt a lot of things. One of the most interesting ones is writing acceptance tests with Yatspec. Yatspec has a role similar to Concordion and Fit in the sense that it allows developer to write automated acceptance tests that generate html files with the output. There are two things I like…

Embedded Jetty server example

Before I worked for sky I used to package my web services in a .war file and deploy them in a running server like Tomcat or Glassfish. When I started working at Sky I found out that they run apps using embedded servers. It can really speed up the time to run app, which is…

Domain Driven Design and package organization

I am lucky enough to be working in a team that values DDD. In my time in sky I have worked in at least one big long-lived application (8+ years) and a couple of greenfield applications. The long-lived one was fairly well structured around it’s domain. Even though the domain was big and complex, it…

Event Sourcing

Currently at sky we are working in a greenfield project. We have decided to use Event Sourcing at that project. So… what is Event Sourcing? Probably one of the best explanations is this Greg Young video. He is the person that coined the term Event Sourcing. Essentially, Event Sourcing is treating the state of your…

Introduction to Kanban

In my current role at Sky I am using a Kanban board. So… what is Kanban? Kanban is a system for organizing and monitoring the progress of tasks. The photo in the header is the sketch of what a minimalistic kanban board could be. Why Kanban? One of the main reasons for using Kanban is…

Looking for a job in London

I came to work to London on June of 2015. In this post I will describe my experience from the moment I started looking for a job in London until I got it. The first thing I did was to go to Reed.co.uk and start sending my CV to a few offers that seemed to…

A Spanish developer in London

My name is Omar and I am an from La Rioja (Spain). I emigrated to the UK in 2015 looking to develop my career as software developer. I will be sharing my thoughts and experiences here.