ExpandoObject: exposing properties to the TypeDescriptor

Consider the following unit test: I’ve highlighted the interesting parts which are: creating an ExpandoObject with two properties (Foo and Bar) using TypeDescriptor.GetProperties to fetch them There should be two properties but sadly this unit test returns: The problem is that the ExpandoObject, internally, uses a dictionary of string and object (IDictionary<string,object>) to store the […]

, , , , ,

Leave a Comment

SpecFlow: using environment specific settings (part 2)

In a previous blog post I discussed how to “push” environment specific settings into the execution of a SpecFlow scenario. This post is more an “end-to-end” example of a situation where this might be handy to use. It will also give me a chance of showing off a another favorite of mine, TeamCity. The details […]

, , ,

1 Comment

SpecFlow: using environment specific settings

One of the things I commonly see people struggling with is how to “push” environment specific settings into the execution of a SpecFlow scenario. This post will provide some background into the problem and later present my solution to the problem. Background/Problem Sometimes you might have a scenario (or several) that you wish to execute […]

, , ,

Leave a Comment

Using GitFlow with Visual Studio and SourceTree

I’m a Microsoft guy. I like their products, development tools, the whole lineup really. However, a couple of months ago I started using git (or github if I should be completely honest…but that’s based on git) for version control. Coming from a Microsoft environment with first Source Safe and later on TFS (or TFVC really) […]

, , ,

2 Comments

TeamCity Pro Tip: Why you should separate your deployment code from your application code

This post is really one of those “summary of best practices” articles that I’ve learned by using TeamCity build server from JetBrains for quite some time now. In Theory Below is an image that might be pretty common. We have an application. We have some deployment scripts. We would like to push the application to […]

, ,

1 Comment

Conditionally display TeamCity build progress messages

TeamCity has a number of notifications/messages that you can make use of to interact with the build script. One of them is the Build Progress Message which is shown on the project dashboard to provide sort of a UI hint to the user while the build is running, like this example: According to the TeamCity […]

, ,

Leave a Comment

Changing unit-test frameworks with the help of fluent assertions

There are numerous reasons to why I keep using the little micro framework called Fluent Assertions. However recently I ran into a little situation that might not be so well documented so I thought I’d tell you about it here instead.   Problem/Background In a project I was involved in recently we had been using […]

, , ,

2 Comments

Configuring TeamCity for ASP.NET development: Part 3

This is the third part of a blog post series on using TeamCity continuous integration server from JetBrains for asp.net development. Here are the links to the parts of the series: Installing/Configuring TeamCity for use with IIS MSBuild requirements for web package publishing Deploying via Web Deploy [this post] 3. Deploying via Web Deploy In […]

, , , ,

2 Comments

Configuring TeamCity for ASP.NET development: Part 2

This is the second part of a blog post series on using TeamCity continuous integration server from JetBrains for asp.net development. Here are the links to the parts of the series: Installing/Configuring TeamCity for use with IIS MSBuild requirements for web package publishing [this post] Deploying via Web Deploy 2. MSBuild requirements for web package […]

, ,

2 Comments

Configuring TeamCity for ASP.NET development

This is the first part of a blog post series on using TeamCity continuous integration server from JetBrains for asp.net development. Here are the links to the parts of the series: Installing/Configuring TeamCity for use with IIS [this post] MSBuild requirements for web package publishing Deploying via Web Deploy Why TeamCity? TeamCity from JetBrains is […]

, , , , ,

1 Comment

Follow

Get every new post delivered to your Inbox.

Join 266 other followers