Skip to content

Testing

SpecFlow+ Installation Walkthrough

The "Given, When, Then" syntax of behaviour-driven development (short BDD) is a great way to get the business involved in the software development process. SpecFlow allows you to use this kind of example based specification with your .Net projects. Unfortunately, there are two obstacles that make the installation of SpecFlow and its commercial extension SpecFlow+ a challenge. This post will guide you through the installation process and help you to overcome those obstacles.

Upgrade NUnit from Version 2.x to 3.8

We started the migration to NUnit 3.0 as soon as the final version was released. Unfortunately, some bugs on Visual Studio Team Services ended this endeavour rather suddenly. We concentrated on shipping our product and postponed the upgrade. Now, with all our projects migrated, it is time to look back on the breaking changes that took the most time to upgrade.

A Simple Way to Generate Test Data

Good test data is as realistic as possible but isn’t from production. Leaks can happen on test systems as well and they are often less protected as production systems. Whenever you need test data you can start creating it from scratch or write a tool. Both options take time and effort. However, there is a third option: test data generators. Today we look how you can create realistic test data without much effort.

Working Effectively with Cookies in Google Chrome

I use the built-in developer tools of Google Chrome whenever I develop web applications. They offer me nearly everything I need for debugging and to solve problems with CSS. However, there is one spot where those tools fall short: Cookies.
You can see the cookies and modify them. But in comparison to the other parts it feels clumsy and complicated.

/etc/hosts on Windows and Mac

The /etc/hosts (or hosts file) is a small text file that maps (domain-) names to IP addresses. It's especially helpful when you want to use an easy to remember name for a computer in your home network. Another good reason to use it is for development purposes. With an entry in hosts file you can check if your website works long before the DNS system has distributed the new IP address.

5 Great Reasons to Use Travis-CI

I use the service of Travis-CI now for a year. In that time the continuous integration has often pointed out problems I never had on my machine and let me quickly fix them, while I still know what the last change was about. If you don’t already use a service like Travis-CI you definitely should go and activate it. Here are 5 points on why this is a good decision.

Simpler Exploratory Testing with Bug Magnet

In exploratory testing one tries to figure out how well the system under test reacts to edge cases and special input data. It’s less structured than acceptance or unit tests and therefore may help you find different kinds of problems. Good input data is not all it takes, but it can help you a lot. When you prefer to use your time to test instead of cultivating the necessary data, then you should try Bug Magnet.

Testing a Web API with Postman

When you develop a web API and a client for it at the same time you often run into errors. But where did they happen? In the API? Or in the client? It would be a simple thing to pinpoint the source without that many moving parts. A stable client that works would be a great help. But where can you get one flexible enough to handle your API?

As it turns out there is a great extension for the Chrome browser that could save you hours. With Postman you have all the flexibility you need to test your API, and it is stable enough to find the errors in your API.