Skip to content

Software Development Blogs: Programming, Software Testing, Agile Project Management

Methods & Tools

Subscribe to Methods & Tools
if you are not afraid to read more than one page to be a smarter software developer, software tester or project manager!

Xebia Blog
Syndicate content
Updated: 13 hours 14 min ago

Avoiding deeply nested component trees

Thu, 06/22/2017 - 09:52

By passing child components down instead of data you can avoid passing data down through many levels of components. It also makes your components more reusable. Even multibrand components become much easier to build. Overall it is a pattern which improves your frontend code a lot! The Problem When building frontends you will pass data […]

The post Avoiding deeply nested component trees appeared first on Xebia Blog.

Property-based testing in Java with JUnit-Quickcheck - Part 2: Generators

Mon, 06/12/2017 - 09:45

In Part 1 of this tutorial we created a Property-based test (PBT) from a normal JUnit test with basic types. Now let us extend the domain object PostalParcel with a list of Products. All examples are written with Java 8 and can be downloaded from my gitlab repository. Write an unit test for the function deliveryCosts with […]

The post Property-based testing in Java with JUnit-Quickcheck - Part 2: Generators appeared first on Xebia Blog.

Property-based testing in Java with JUnit-Quickcheck - Part 1: The basics

Mon, 06/12/2017 - 06:48

To be able to show you what Property-based testing (PBT) is, let's start by grasping the concept of a property in programming languages. Since this is a Java tutorial, I will start with Oracle and their definition of a property in their glossary: Characteristics of an object that users can set, such as the color of a window. Property […]

The post Property-based testing in Java with JUnit-Quickcheck - Part 1: The basics appeared first on Xebia Blog.

Rediscovering testing with Horizon: Zero Dawn

Fri, 06/09/2017 - 08:20

Recently Guerrilla Games launched its newest and first open world game: Horizon: Zero Dawn. This got us thinking. Is game testing any different than testing 'regular' software? Together with Ana Barbuta, QA Manager at Guerrilla Games, we held a Meetup to find the answer to this question. In this blog post, we reflect shortly on how […]

The post Rediscovering testing with Horizon: Zero Dawn appeared first on Xebia Blog.

Breaking changes in Swift 4

Wed, 05/31/2017 - 13:38

In this blog I would like to give insight in the amount of code breaking changes that will be introduced in Swift 4. Also, I will demonstrate how you already can work with Swift 4 in the current Xcode 8.3.2. Breaking changes If we would summarise all implemented Swift 4 proposals, we would (as of […]

The post Breaking changes in Swift 4 appeared first on Xebia Blog.

Production ready AWS ECS (EC2 Container Service)

Wed, 05/24/2017 - 16:59

Are you looking to run Docker containers on AWS? Or are you looking to use AWS ECS (EC2 Container Service)? Does it need to be production ready? If so, then speed up your process and be ready today by looking at my GitHub repository on ECS. It contains infrastructure as code with Terraform for a […]

The post Production ready AWS ECS (EC2 Container Service) appeared first on Xebia Blog.

Refactoring to Microservices – Using a Document as State

Fri, 05/19/2017 - 14:12

In a previous installment of our Microservice refactoring effort, I’ve introduced a ShopManager and a Clerk to implement the shopping process (see this blog). I ended up with a JSON document transferred between services. To make life easy for myself I just parsed all of the document using Spring magic. This time I will discuss […]

The post Refactoring to Microservices – Using a Document as State appeared first on Xebia Blog.

Why microservices fail

Tue, 05/09/2017 - 08:14

Gianna has joined Avidoo Inc., a productivity platform, as a senior software engineer. In a kick-off meeting with the rest of her team, she brings up the subject of microservices and whether the team has adopted them in any way. She immediately gets a strong reaction. “We have tried adopting microservices, but they don’t work”, […]

The post Why microservices fail appeared first on Xebia Blog.

Docker containers vulnerability scan with Clair

Fri, 05/05/2017 - 11:40

When you work with containers (Docker) you are not only packaging your application but also part of the OS. Therefore it is crucial to know what kind of libraries might be vulnerable in you container. One way to find this information is to use and look at the Docker Hub or Quay.io security scan. The […]

The post Docker containers vulnerability scan with Clair appeared first on Xebia Blog.

How to organize the coolest software conference of the year

Thu, 05/04/2017 - 19:32

One of cool things I get to do besides being a consultant is (helping) organizing NG-NL. This is the annual conference in Amsterdam dedicated to the Angular framework. As you might expect, a lot of preparation goes into hosting a conference like that and this blog post is meant to give you a sneak peek […]

The post How to organize the coolest software conference of the year appeared first on Xebia Blog.

Only trigger a release when the build changed

Mon, 05/01/2017 - 17:15

Back in the early days, when we used XAML builds in TFS (wow that seems like ages ago!), we had the possibility to NOT execute a build when nothing changed in the source code repository. This checkbox “Build even if nothing has changed” does not exist anymore in VSTS. For me this is not a real […]

The post Only trigger a release when the build changed appeared first on Xebia Blog.

Eight Characteristics of Successful Software Projects

Sun, 04/23/2017 - 09:21

We do a lot of software projects at Xebia Software Development. We work most of the time at our client’s location, in their teams. Together we improve the quality of their software, their process, and engineering culture. As such, we’ve seen a lot of projects play out. Most of these efforts succeeded but some failed. […]

The post Eight Characteristics of Successful Software Projects appeared first on Xebia Blog.

Being an Agile Security Officer: user stories

Sat, 04/22/2017 - 14:28

This is the fourth part of my 'Being an Agile Security Officer series'. In this blog post I will go deeper into the details of how user stories are created and what role security stakeholders should play in that. The Epic Within Agile, work is usually defined in user stories. These are minimal and defined […]

The post Being an Agile Security Officer: user stories appeared first on Xebia Blog.

Cheating and building secure iOS games

Fri, 04/21/2017 - 07:53

You probably have one of the million games where you earn achievements and unlock specials on your iPad or iPhone. If you develop games, you've probably wondered about people cheating your games? In this blog we're going to show you how to try cheating out yourself and how to build secure iOS games.The actual question […]

The post Cheating and building secure iOS games appeared first on Xebia Blog.

Business Analysis Manifesto: the changing role of Business Analysis in an Agile organization

Fri, 04/14/2017 - 20:00

  The other day a discussion moved towards the -changing- role of Business Analysts in an Agile environment. I referred to the Business Analysis Manifesto. Created by and for Business Analysts, but never published. I realized I could share it with ‘the world’ and wrap it in blog-paper. So, this Business Analysis Manifesto is not […]

The post Business Analysis Manifesto: the changing role of Business Analysis in an Agile organization appeared first on Xebia Blog.

De-mystifying Jest Snapshot Test Mocks

Mon, 04/10/2017 - 12:48

So, let’s say you have a nice React Native setup with the Jest testing library. You want to snapshot-test all your components of course! But you’re getting seemingly unrelated errors when you tried to mock a third party module in your snapshots and you’re lost in all that API documentation. Let’s dig into an example […]

The post De-mystifying Jest Snapshot Test Mocks appeared first on Xebia Blog.

Monitoring a Kubernetes Environment

Thu, 03/30/2017 - 14:28

This post is part 3 in a 4-part series about Container Monitoring. Post 1 dives into some of the new challenges containers and microservices create and the information you should focus on. Post 2 describes how you can monitor your Mesos cluster. This article describes the challenges of monitoring Kubernetes, how it works and what this means for […]

The post Monitoring a Kubernetes Environment appeared first on Xebia Blog.

Monitor Your Mesos Cluster with StackState

Fri, 03/24/2017 - 09:28

This post is part 2 in a 4-part series about Container Monitoring. Post 1 dives into some of the new challenges containers and microservices create and the information you should focus on. This article describes how to monitor your Mesos cluster. Apache Mesos is a distributed systems kernel at the heart of the Mesosphere DC/OS and is designed […]

The post Monitor Your Mesos Cluster with StackState appeared first on Xebia Blog.

Docker container secrets on AWS ECS

Wed, 03/22/2017 - 08:42

Almost every application needs some kind of a secret or secrets to do it's work. There are all kind of ways to provide this to the containers but it all comes down to the following five: Save the secrets inside the image Provide the secrets trough ENV variables Provide the secrets trough volume mounts Use a secrets […]

The post Docker container secrets on AWS ECS appeared first on Xebia Blog.

TDD is not about unit tests

Tue, 03/21/2017 - 14:42

-- Dave Farley & Arjan Molenaar On many occasions when we come at a customer, we're told the development team is doing TDD. Often, though, a team is writing unit tests, but it's not doing TDD. This is an important distinction. Unit tests are useful things. Unit testing though says nothing about how to create […]

The post TDD is not about unit tests appeared first on Xebia Blog.