I’m loving NuGet and it’s totally changed the way I look at bringing in external dependencies to my projects. Sometimes, you need to install several packages into a project. For example, when installing SpecFlow, you might also need a test framework like NUnit or MsTest, and perhaps an assertion or mocking framework. If you want a package that includes your...
I recently started using a dark theme for Visual Studio. For those who haven’t checked out Studio Styles, it’s a fantastic site for finding great themes. I’m currently using the Son of Obsidian theme, but I also recommend checking out the Coding Instinct Theme created by my colleague Torkel. However, I ran into an issue where the mouse pointer became...
I recently received an insightful email from Jose Samonte asking for resources on Behavior-Driven Development (BDD) and where to start learning about it. Given the depth of my own journey with BDD, I thought I’d share my experiences and recommendations publicly. Start Here My introduction to BDD began with a blog post by Dan North: Introducing BDD. This post provides...
Following up on my previous post about Specification by Example and Theory of Constraints, I’ve received insightful feedback from colleagues, particularly Håkan Forss, whom I greatly respect. The Five Focusing Steps Håkan pointed out some valuable perspectives on the Theory of Constraints’ five focusing steps: Identify the Constraint Decide How to Exploit the Constraint Subordinate All Other Processes to the...
Since I first encountered Specification by Example (or BDD as it’s also known), I felt it had a natural alignment with Lean thinking and related theories. Today, I want to explore how the Theory of Constraints can be applied through Specification by Example to enhance the system development process. Standing on the Shoulders of Giants This post reflects my own...
If you are a developer doing BDD, as me, you’ll soon run into the joys of UI automation. The BDD community today seems to lean towards running your specifications/test end-to-end in order to capture the whole stack of the application as well as getting great regression tests. But tests against the GUI can be brittle, that part of the application...
Recently, I had the chance to explore more advanced error handling with SpecFlow and delved into the ScenarioContext and FeatureContext objects. These components offer some powerful capabilities that are worth understanding. In this post, I’ll take a closer look at both and offer some tips on how to utilize them effectively in your SpecFlow projects. ScenarioContext Most of us have...
It’s been a while since I did any work on the KanbanBoards project, but now I got around to add some more features. I planning on doing some acceptance tests for creating new boards. The controller functionality was spec’d out in then last installment of the series. To do that properly I need to touch on two main areas of...
I have been talking about BDD or specification by example almost every day for a year and a half now. I still love the idea—executable specifications that everyone concerned can read, so you can talk about the behavior of the system before a single line of code is written. Yeah, you see, as soon as I start to write about...
I got an invitation to the Sweden Progressive .NET (the group formerly known as Alt.Net Sweden) to do a presentation on SpecFlow. I know many of the people in this group, a lot of them work for Avega, and have the highest respect for their knowledge. So to get an invite from them to talk about a BDD tool was...