Browsed by
Category: DevOps

Configuring NUnit 3 to run different tests in each environment.

Configuring NUnit 3 to run different tests in each environment.

A couple of months ago I wrote a post explaining that don’t like to disable tests for a disabled feature in certain environments. I much prefer to switch the expected results and confirm the feature is disabled than simply to not test it. Sometimes however this really isn’t appropriate and you have no choice than to avoid running those tests. Today I’ll have a very quick look at ways to do this with NUnit 3. The options. Use different test…

Read More Read More

Feature switching for release testing.

Feature switching for release testing.

When your cloud deployments do not all have the same features enabled, running the same tests calls will generate different reponses. How can you ensure that the tests for each individual release verifies the expected functionality for that deployment? The problem It is not uncommon to deploy code to production servers that is hidden behind a feature switch. When the moment comes to go live, the configuration is changed to enable the feature. If it is just new functionality, you…

Read More Read More

Test Automation: Test levels for Dummies (and recruiters)

Test Automation: Test levels for Dummies (and recruiters)

As I was sitting waiting for the train to work for the first time in 2019 I read an amusing LinkedIn article by Matt Roberts, one of my recruiter contacts, about the difference between unit and integration tests. So this reply is for you Matt….. I would suggest that there are more levels of testing than two, as illustrated by Jason Gorman in the tweet below. What should we test at different levels of our “test pyramid”? pic.twitter.com/fbxqCaEUs1 — jasongorman…

Read More Read More

Releasing a .NET standard library – Lessons learned the hard way

Releasing a .NET standard library – Lessons learned the hard way

Since my last post I have managed to take my prototype Webdriver factory for .NET Core projects and package it up on nuget.org. This was not as simple a process as I expected, and has required a lot of additional thought and testing. I learnt a number of things along the way that I would want to be aware of if starting again: I try to fill my blog with posts about things I wish I had known, so this…

Read More Read More